'callbackUrl' => '', 'description' => 'payment using omidpay', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'parsian' => [ 'apiPurchaseUrl' => 'https://pec.shaparak.ir/NewIPGServices/Sale/SaleService.asmx?wsdl', 'apiPaymentUrl' => 'https://pec.shaparak.ir/NewIPG/', 'apiVerificationUrl' => 'https://pec.shaparak.ir/NewIPGServices/Confirm/ConfirmService.asmx?wsdl', 'merchantId' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using parsian', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'parspal' => [ /* Normal api */ 'apiPurchaseUrl' => 'https://api.parspal.com/v1/payment/request', 'apiVerificationUrl' => 'https://api.parspal.com/v1/payment/verify', /* Sandbox api */ 'sandboxApiPurchaseUrl' => ' https://sandbox.api.parspal.com/v1/payment/request', 'sandboxApiVerificationUrl' => 'https://sandbox.api.parspal.com/v1/payment/verify', // You can change the cache path in Laravel like this // 'cachePath' => function_exists('storage_path') ? storage_path('parspal/') : 'parspal/' 'cachePath' => 'parspal/', 'cacheExpireTTL' => 3600, // Cache expire time in seconds 'sandbox' => false, // Set it to true for test environments 'merchantId' => '', // Set `00000000aaaabbbbcccc000000000000` for test environments (sandbox) 'callbackUrl' => '', 'currency' => 'T', // Can be R, T (Rial, Toman) ], 'pasargad' => [ 'apiPaymentUrl' => 'https://pep.shaparak.ir/payment.aspx', 'apiGetToken' => 'https://pep.shaparak.ir/Api/v1/Payment/GetToken', 'apiCheckTransactionUrl' => 'https://pep.shaparak.ir/Api/v1/Payment/CheckTransactionResult', 'apiVerificationUrl' => 'https://pep.shaparak.ir/Api/v1/Payment/VerifyPayment', 'merchantId' => '', 'terminalCode' => '', 'certificate' => '', // can be string (and set certificateType to xml_string) or an xml file path (and set cetificateType to xml_file) 'certificateType' => 'xml_file', // can be: xml_file, xml_string 'callbackUrl' => 'http://yoursite.com/path/to', 'currency' => 'R', //Can be R, T (Rial, Toman) ], 'payline' => [ 'apiPurchaseUrl' => 'https://pay.ir/pg/send', 'apiPaymentUrl' => 'https://pay.ir/pg/', 'apiVerificationUrl' => 'https://pay.ir/pg/verify', 'merchantId' => 'test', // set it to `test` for test environments 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using payir', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'paypal' => [ /* normal api */ 'apiPurchaseUrl' => 'https://www.paypal.com/cgi-bin/webscr', 'apiPaymentUrl' => 'https://www.zarinpal.com/pg/StartPay/', 'apiVerificationUrl' => 'https://ir.zarinpal.com/pg/services/WebGate/wsdl', /* sandbox api */ 'sandboxApiPurchaseUrl' => 'https://www.sandbox.paypal.com/cgi-bin/webscr', 'sandboxApiPaymentUrl' => 'https://sandbox.zarinpal.com/pg/StartPay/', 'sandboxApiVerificationUrl' => 'https://sandbox.zarinpal.com/pg/services/WebGate/wsdl', 'mode' => 'normal', // can be normal, sandbox 'id' => '', // Specify the email of the PayPal Business account 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using paypal', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'payping' => [ 'apiPurchaseUrl' => 'https://api.payping.ir/v2/pay/', 'apiPaymentUrl' => 'https://api.payping.ir/v2/pay/gotoipg/', 'apiVerificationUrl' => 'https://api.payping.ir/v2/pay/verify/', 'merchantId' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using payping', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'paystar' => [ 'apiPurchaseUrl' => 'https://core.paystar.ir/api/pardakht/create/', 'apiPaymentUrl' => 'https://core.paystar.ir/api/pardakht/payment/', 'apiVerificationUrl' => 'https://core.paystar.ir/api/pardakht/verify/', 'gatewayId' => '', // your gateway id 'signKey' => '', // sign key of your gateway 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using paystar', 'currency' => 'R', //Can be R, T (Rial, Toman) ], 'poolam' => [ 'apiPurchaseUrl' => 'https://poolam.ir/invoice/request/', 'apiPaymentUrl' => 'https://poolam.ir/invoice/pay/', 'apiVerificationUrl' => 'https://poolam.ir/invoice/check/', 'merchantId' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using poolam', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'pna' => [ 'apiNormalSale' => 'https://pna.shaparak.ir/mhipg/api/Payment/NormalSale', 'apiPaymentUrl' => 'https://pna.shaparak.ir/mhui/home/index/', 'apiConfirmationUrl' => 'https://pna.shaparak.ir/mhipg/api/Payment/confirm', 'CorporationPin' => '', 'currency' => 'R',//Can be R, T (Rial, Toman) 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using pna', ], 'sadad' => [ 'apiPaymentByMultiIdentityUrl' => 'https://sadad.shaparak.ir/VPG/api/v0/PaymentByMultiIdentityRequest', 'apiPaymentByIdentityUrl' => 'https://sadad.shaparak.ir/api/v0/PaymentByIdentity/PaymentRequest', 'apiPaymentUrl' => 'https://sadad.shaparak.ir/api/v0/Request/PaymentRequest', 'apiPurchaseUrl' => 'https://sadad.shaparak.ir/Purchase', 'apiVerificationUrl' => 'https://sadad.shaparak.ir/VPG/api/v0/Advice/Verify', 'key' => '', 'merchantId' => '', 'terminalId' => '', 'callbackUrl' => '', 'currency' => 'T', //Can be R, T (Rial, Toman) 'mode' => 'normal', // can be normal, PaymentByIdentity, PaymentByMultiIdentity, 'PaymentIdentity' => '', 'MultiIdentityRows' => [ [ "IbanNumber" => '', // Sheba number (with IR) "Amount" => 0, "PaymentIdentity" => '', ], ], 'description' => 'payment using sadad', ], 'saman' => [ 'apiPurchaseUrl' => 'https://sep.shaparak.ir/Payments/InitPayment.asmx?WSDL', 'apiPaymentUrl' => 'https://sep.shaparak.ir/payment.aspx', 'apiVerificationUrl' => 'https://sep.shaparak.ir/payments/referencepayment.asmx?WSDL', 'merchantId' => '', 'callbackUrl' => '', 'description' => 'payment using saman', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'sep' => [ 'apiGetToken' => 'https://sep.shaparak.ir/onlinepg/onlinepg', 'apiPaymentUrl' => 'https://sep.shaparak.ir/OnlinePG/OnlinePG', 'apiVerificationUrl' => 'https://sep.shaparak.ir/verifyTxnRandomSessionkey/ipg/VerifyTransaction', 'terminalId' => '', 'callbackUrl' => '', 'description' => 'Saman Electronic Payment for Saderat & Keshavarzi', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'sepehr' => [ 'apiGetToken' => 'https://sepehr.shaparak.ir:8081/V1/PeymentApi/GetToken', 'apiPaymentUrl' => 'https://sepehr.shaparak.ir:8080/Pay', 'apiVerificationUrl' => 'https://sepehr.shaparak.ir:8081/V1/PeymentApi/Advice', 'terminalId' => '', 'callbackUrl' => '', 'description' => 'payment using sepehr(saderat)', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'walleta' => [ 'apiPurchaseUrl' => 'https://cpg.walleta.ir/payment/request.json', 'apiPaymentUrl' => 'https://cpg.walleta.ir/ticket/', 'apiVerificationUrl' => 'https://cpg.walleta.ir/payment/verify.json', 'merchantId' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using walleta', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'yekpay' => [ 'apiPurchaseUrl' => 'https://gate.yekpay.com/api/payment/server?wsdl', 'apiPaymentUrl' => 'https://gate.yekpay.com/api/payment/start/', 'apiVerificationUrl' => 'https://gate.yekpay.com/api/payment/server?wsdl', 'fromCurrencyCode' => 978, 'toCurrencyCode' => 364, 'merchantId' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using yekpay', ], 'zarinpal' => [ /* normal api */ 'apiPurchaseUrl' => 'https://api.zarinpal.com/pg/v4/payment/request.json', 'apiPaymentUrl' => 'https://www.zarinpal.com/pg/StartPay/', 'apiVerificationUrl' => 'https://api.zarinpal.com/pg/v4/payment/verify.json', /* sandbox api */ 'sandboxApiPurchaseUrl' => 'https://sandbox.zarinpal.com/pg/v4/payment/request.json', 'sandboxApiPaymentUrl' => 'https://sandbox.zarinpal.com/pg/StartPay/', 'sandboxApiVerificationUrl' => 'https://sandbox.zarinpal.com/pg/v4/payment/verify.json', /* zarinGate api */ 'zaringateApiPurchaseUrl' => 'https://ir.zarinpal.com/pg/services/WebGate/wsdl', 'zaringateApiPaymentUrl' => 'https://www.zarinpal.com/pg/StartPay/:authority/ZarinGate', 'zaringateApiVerificationUrl' => 'https://ir.zarinpal.com/pg/services/WebGate/wsdl', 'mode' => 'normal', // can be normal, sandbox, zaringate 'merchantId' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using zarinpal', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'zibal' => [ /* normal api */ 'apiPurchaseUrl' => 'https://gateway.zibal.ir/v1/request', 'apiPaymentUrl' => 'https://gateway.zibal.ir/start/', 'apiVerificationUrl' => 'https://gateway.zibal.ir/v1/verify', 'mode' => 'normal', // can be normal, direct 'merchantId' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using zibal', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'sepordeh' => [ 'apiPurchaseUrl' => 'https://sepordeh.com/merchant/invoices/add', 'apiPaymentUrl' => 'https://sepordeh.com/merchant/invoices/pay/id:', 'apiDirectPaymentUrl' => 'https://sepordeh.com/merchant/invoices/pay/automatic:true/id:', 'apiVerificationUrl' => 'https://sepordeh.com/merchant/invoices/verify', 'mode' => 'normal', // can be normal, direct 'merchantId' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using sepordeh', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'rayanpay' => [ 'apiPurchaseUrl' => 'https://bpm.shaparak.ir/pgwchannel/startpay.mellat', 'apiTokenUrl' => 'https://pms.rayanpay.com/api/v1/auth/token/generate', 'apiPayStart' => 'https://pms.rayanpay.com/api/v1/ipg/payment/start', 'apiPayVerify' => 'https://pms.rayanpay.com/api/v1/ipg/payment/response/parse', 'username' => '', 'client_id' => '', 'password' => '', 'callbackUrl' => '', 'currency' => 'R', //Can be R, T (Rial, Toman) ], 'shepa' => [ /* Normal api */ 'apiPurchaseUrl' => 'https://merchant.shepa.com/api/v1/token', 'apiPaymentUrl' => 'https://merchant.shepa.com/v1/', 'apiVerificationUrl' => 'https://merchant.shepa.com/api/v1/verify', /* Sandbox api */ 'sandboxApiPurchaseUrl' => 'https://sandbox.shepa.com/api/v1/token', 'sandboxApiPaymentUrl' => 'https://sandbox.shepa.com/v1/', 'sandboxApiVerificationUrl' => 'https://sandbox.shepa.com/api/v1/verify', 'sandbox' => false, // Set it to true for test environments 'merchantId' => '', // Set `sandbox` for test environments (sandbox) 'callbackUrl' => '', 'currency' => 'R', //Can be R, T (Rial, Toman) ], 'sizpay' => [ 'apiPurchaseUrl' => 'https://rt.sizpay.ir/KimiaIPGRouteService.asmx?WSDL', 'apiPaymentUrl' => 'https://rt.sizpay.ir/Route/Payment', 'apiVerificationUrl' => 'https://rt.sizpay.ir/KimiaIPGRouteService.asmx?WSDL', 'merchantId' => '', 'terminal' => '', 'username' => '', 'password' => '', 'SignData' => '', 'callbackUrl' => '', 'currency' => 'R', //Can be R, T (Rial, Toman) ], 'vandar' => [ 'apiPurchaseUrl' => 'https://ipg.vandar.io/api/v3/send', 'apiPaymentUrl' => 'https://ipg.vandar.io/v3/', 'apiVerificationUrl' => 'https://ipg.vandar.io/api/v3/verify', 'callbackUrl' => '', 'merchantId' => '', 'description' => 'payment using Vandar', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'aqayepardakht' => [ 'apiPurchaseUrl' => 'https://panel.aqayepardakht.ir/api/v2/create', 'apiPaymentUrl' => 'https://panel.aqayepardakht.ir/startpay/', 'apiPaymentUrlSandbox' => 'https://panel.aqayepardakht.ir/startpay/sandbox/', 'apiVerificationUrl' => 'https://panel.aqayepardakht.ir/api/v2/verify', 'mode' => 'normal', //normal | sandbox 'callbackUrl' => '', 'pin' => '', 'invoice_id' => '', 'mobile' => '', 'email' => '', 'description' => 'payment using Aqayepardakht', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'azki' => [ 'apiPaymentUrl' => 'https://api.azkivam.com', 'callbackUrl' => 'http://yoursite.com/path/to', 'fallbackUrl' => 'http://yoursite.com/path/to', 'merchantId' => '', 'key' => '', 'currency' => 'T', //Can be R, T (Rial, Toman) 'description' => 'payment using azki', ], 'payfa' => [ 'apiPurchaseUrl' => 'https://payment.payfa.com/v2/api/Transaction/Request', 'apiPaymentUrl' => 'https://payment.payfa.ir/v2/api/Transaction/Pay/', 'apiVerificationUrl' => 'https://payment.payfa.com/v2/api/Transaction/Verify/', 'callbackUrl' => '', 'apiKey' => '', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'toman' => [ 'base_url' => 'https://escrow-api.toman.ir/api/v1', 'shop_slug' => '', 'auth_code' => '', 'data' => '' ], 'bitpay' => [ 'apiPurchaseUrl' => 'https://bitpay.ir/payment/gateway-send', 'apiPaymentUrl' => 'https://bitpay.ir/payment/gateway-{id_get}-get', 'apiVerificationUrl' => 'https://bitpay.ir/payment/gateway-result-second', 'callbackUrl' => '', 'api_token' => '', 'description' => 'payment using Bitpay', 'currency' => 'R', //Can be R, T (Rial, Toman) ], 'minipay' => [ 'apiPurchaseUrl' => 'https://v1.minipay.me/api/pg/request/', 'apiPaymentUrl' => 'https://ipg.minipay.me/', 'apiVerificationUrl' => 'https://v1.minipay.me/api/pg/verify/', 'merchantId' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using Minipay.', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'snapppay' => [ 'apiPaymentUrl' => 'https://fms-gateway-staging.apps.public.teh-1.snappcloud.io', 'callbackUrl' => 'http://yoursite.com/path/to', 'username' => 'username', 'password' => 'password', 'client_id' => '', 'client_secret' => '', 'description' => 'payment using Snapp Pay.', 'currency' => 'T', //Can be R, T (Rial, Toman) ], ], /* |-------------------------------------------------------------------------- | Class Maps |-------------------------------------------------------------------------- | | This is the array of Classes that maps to Drivers above. | You can create your own driver if you like and add the | config in the drivers array and the class to use for | here with the same name. You will have to extend | Shetabit\Multipay\Abstracts\Driver in your driver. | */ 'map' => [ 'local' => \Shetabit\Multipay\Drivers\Local\Local::class, 'gooyapay' => \Shetabit\Multipay\Drivers\Gooyapay\Gooyapay::class, 'fanavacard' => \Shetabit\Multipay\Drivers\Fanavacard\Fanavacard::class, 'asanpardakht' => \Shetabit\Multipay\Drivers\Asanpardakht\Asanpardakht::class, 'atipay' => \Shetabit\Multipay\Drivers\Atipay\Atipay::class, 'mellat' => \Shetabit\Multipay\Drivers\Behpardakht\Behpardakht::class, 'digipay' => \Shetabit\Multipay\Drivers\Digipay\Digipay::class, 'etebarino' => \Shetabit\Multipay\Drivers\Etebarino\Etebarino::class, 'idpay' => \Shetabit\Multipay\Drivers\Idpay\Idpay::class, 'irandargah' => \Shetabit\Multipay\Drivers\IranDargah\IranDargah::class, 'irankish' => \Shetabit\Multipay\Drivers\Irankish\Irankish::class, 'jibit' => \Shetabit\Multipay\Drivers\Jibit\Jibit::class, 'nextpay' => \Shetabit\Multipay\Drivers\Nextpay\Nextpay::class, 'omidpay' => \Shetabit\Multipay\Drivers\Omidpay\Omidpay::class, 'parsian' => \Shetabit\Multipay\Drivers\Parsian\Parsian::class, 'parspal' => \Shetabit\Multipay\Drivers\Parspal\Parspal::class, 'pasargad' => \Shetabit\Multipay\Drivers\Pasargad\Pasargad::class, 'payline' => \Shetabit\Multipay\Drivers\Payir\Payir::class, 'paypal' => \Shetabit\Multipay\Drivers\Paypal\Paypal::class, 'payping' => \Shetabit\Multipay\Drivers\Payping\Payping::class, 'paystar' => \Shetabit\Multipay\Drivers\Paystar\Paystar::class, 'poolam' => \Shetabit\Multipay\Drivers\Poolam\Poolam::class, 'sadad' => \Shetabit\Multipay\Drivers\Sadad\Sadad::class, 'saman' => \Shetabit\Multipay\Drivers\Saman\Saman::class, 'sep' => \Shetabit\Multipay\Drivers\SEP\SEP::class, 'sepehr' => \Shetabit\Multipay\Drivers\Sepehr\Sepehr::class, 'walleta' => \Shetabit\Multipay\Drivers\Walleta\Walleta::class, 'yekpay' => \Shetabit\Multipay\Drivers\Yekpay\Yekpay::class, 'zarinpal' => \Shetabit\Multipay\Drivers\Zarinpal\Zarinpal::class, 'zibal' => \Shetabit\Multipay\Drivers\Zibal\Zibal::class, 'sepordeh' => \Shetabit\Multipay\Drivers\Sepordeh\Sepordeh::class, 'rayanpay' => \Shetabit\Multipay\Drivers\Rayanpay\Rayanpay::class, 'shepa' => \Shetabit\Multipay\Drivers\Shepa\Shepa::class, 'sizpay' => \Shetabit\Multipay\Drivers\Sizpay\Sizpay::class, 'vandar' => \Shetabit\Multipay\Drivers\Vandar\Vandar::class, 'aqayepardakht' => \Shetabit\Multipay\Drivers\Aqayepardakht\Aqayepardakht::class, 'azki' => \Shetabit\Multipay\Drivers\Azki\Azki::class, 'payfa' => \Shetabit\Multipay\Drivers\Payfa\Payfa::class, 'toman' => \Shetabit\Multipay\Drivers\Toman\Toman::class, 'bitpay' => \Shetabit\Multipay\Drivers\Bitpay\Bitpay::class, 'minipay' => \Shetabit\Multipay\Drivers\Minipay\Minipay::class, 'snapppay' => \Shetabit\Multipay\Drivers\SnappPay\SnappPay::class, 'pna' => \Shetabit\Multipay\Drivers\Pna\Pna::class ] ]; onfig->set('logging.channels.deprecations', $config->get("logging.channels.{$driver}")); }); } /** * Ensure the "null" log driver is configured. * * @return void */ protected function ensureNullLogDriverIsConfigured() { with(static::$app['config'], function ($config) { if ($config->get('logging.channels.null')) { return; } $config->set('logging.channels.null', [ 'driver' => 'monolog', 'handler' => NullHandler::class, ]); }); } /** * Handle an uncaught exception from the application. * * Note: Most exceptions can be handled via the try / catch block in * the HTTP and Console kernels. But, fatal error exceptions must * be handled differently since they are not normal exceptions. * * @param \Throwable $e * @return void */ public function handleException(Throwable $e) { static::$reservedMemory = null; try { $this->getExceptionHandler()->report($e); } catch (Exception) { $exceptionHandlerFailed = true; } if (static::$app->runningInConsole()) { $this->renderForConsole($e); if ($exceptionHandlerFailed ?? false) { exit(1); } } else { $this->renderHttpResponse($e); } } /** * Render an exception to the console. * * @param \Throwable $e * @return void */ protected function renderForConsole(Throwable $e) { $this->getExceptionHandler()->renderForConsole(new ConsoleOutput, $e); } /** * Render an exception as an HTTP response and send it. * * @param \Throwable $e * @return void */ protected function renderHttpResponse(Throwable $e) { $this->getExceptionHandler()->render(static::$app['request'], $e)->send(); } /** * Handle the PHP shutdown event. * * @return void */ public function handleShutdown() { static::$reservedMemory = null; if (! is_null($error = error_get_last()) && $this->isFatal($error['type'])) { $this->handleException($this->fatalErrorFromPhpError($error, 0)); } } /** * Create a new fatal error instance from an error array. * * @param array $error * @param int|null $traceOffset * @return \Symfony\Component\ErrorHandler\Error\FatalError */ protected function fatalErrorFromPhpError(array $error, $traceOffset = null) { return new FatalError($error['message'], 0, $error, $traceOffset); } /** * Forward a method call to the given method if an application instance exists. * * @return callable */ protected function forwardsTo($method) { return fn (...$arguments) => static::$app ? $this->{$method}(...$arguments) : false; } /** * Determine if the error level is a deprecation. * * @param int $level * @return bool */ protected function isDeprecation($level) { return in_array($level, [E_DEPRECATED, E_USER_DEPRECATED]); } /** * Determine if the error type is fatal. * * @param int $type * @return bool */ protected function isFatal($type) { return in_array($type, [E_COMPILE_ERROR, E_CORE_ERROR, E_ERROR, E_PARSE]); } /** * Get an instance of the exception handler. * * @return \Illuminate\Contracts\Debug\ExceptionHandler */ protected function getExceptionHandler() { return static::$app->make(ExceptionHandler::class); } /** * Clear the local application instance from memory. * * @return void * * @deprecated This method will be removed in a future Laravel version. */ public static function forgetApp() { static::$app = null; } /** * Flush the bootstrapper's global state. * * @return void */ public static function flushState() { if (is_null(static::$app)) { return; } static::flushHandlersState(); static::$app = null; static::$reservedMemory = null; } /** * Flush the bootstrapper's global handlers state. * * @return void */ public static function flushHandlersState() { while (true) { $previousHandler = set_exception_handler(static fn () => null); restore_exception_handler(); if ($previousHandler === null) { break; } restore_exception_handler(); } while (true) { $previousHandler = set_error_handler(static fn () => null); restore_error_handler(); if ($previousHandler === null) { break; } restore_error_handler(); } if (class_exists(ErrorHandler::class)) { $instance = ErrorHandler::instance(); if ((fn () => $this->enabled ?? false)->call($instance)) { $instance->disable(); $instance->enable(); } } } } Target class [Illuminate\Foundation\Bootstrap\HandleExceptions] does not exist. (500 Internal Server Error)

Symfony Exception

ReflectionException BindingResolutionException

HTTP 500 Internal Server Error

Target class [Illuminate\Foundation\Bootstrap\HandleExceptions] does not exist.

Illuminate\Contracts\Container\ BindingResolutionException

  1.         }
  2.         try {
  3.             $reflector = new ReflectionClass($concrete);
  4.         } catch (ReflectionException $e) {
  5.             throw new BindingResolutionException("Target class [$concrete] does not exist."0$e);
  6.         }
  7.         // If the type is not instantiable, the developer is attempting to resolve
  8.         // an abstract type such as an Interface or Abstract Class and there is
  9.         // no binding registered for the abstractions so we need to bail out.
  1.         // We're ready to instantiate an instance of the concrete type registered for
  2.         // the binding. This will instantiate the types, as well as resolve any of
  3.         // its "nested" dependencies recursively until all have gotten resolved.
  4.         $object $this->isBuildable($concrete$abstract)
  5.             ? $this->build($concrete)
  6.             : $this->make($concrete);
  7.         // If we defined any extenders for this type, we'll need to spin through them
  8.         // and apply them to the object being built. This allows for the extension
  9.         // of services, such as changing configuration or decorating the object.
  1.      */
  2.     protected function resolve($abstract$parameters = [], $raiseEvents true)
  3.     {
  4.         $this->loadDeferredProviderIfNeeded($abstract $this->getAlias($abstract));
  5.         return parent::resolve($abstract$parameters$raiseEvents);
  6.     }
  7.     /**
  8.      * Load the deferred provider if the given type is a deferred service and the instance has not been loaded.
  9.      *
  1.      *
  2.      * @throws \Illuminate\Contracts\Container\BindingResolutionException
  3.      */
  4.     public function make($abstract, array $parameters = [])
  5.     {
  6.         return $this->resolve($abstract$parameters);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      *
  1.      */
  2.     public function make($abstract, array $parameters = [])
  3.     {
  4.         $this->loadDeferredProviderIfNeeded($abstract $this->getAlias($abstract));
  5.         return parent::make($abstract$parameters);
  6.     }
  7.     /**
  8.      * Resolve the given type from the container.
  9.      *
  1.         $this->hasBeenBootstrapped true;
  2.         foreach ($bootstrappers as $bootstrapper) {
  3.             $this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]);
  4.             $this->make($bootstrapper)->bootstrap($this);
  5.             $this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]);
  6.         }
  7.     }
  1.      * @return void
  2.      */
  3.     public function bootstrap()
  4.     {
  5.         if (! $this->app->hasBeenBootstrapped()) {
  6.             $this->app->bootstrapWith($this->bootstrappers());
  7.         }
  8.     }
  9.     /**
  10.      * Get the route dispatcher callback.
  1.     {
  2.         $this->app->instance('request'$request);
  3.         Facade::clearResolvedInstance('request');
  4.         $this->bootstrap();
  5.         return (new Pipeline($this->app))
  6.             ->send($request)
  7.             ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  8.             ->then($this->dispatchToRouter());
  1.         $this->requestStartedAt Carbon::now();
  2.         try {
  3.             $request->enableHttpMethodParameterOverride();
  4.             $response $this->sendRequestThroughRouter($request);
  5.         } catch (Throwable $e) {
  6.             $this->reportException($e);
  7.             $response $this->renderException($request$e);
  8.         }
Kernel->handle(object(Request)) in /home/systemkol/public_html/index.php (line 53)
  1. $kernel $app->make(Kernel::class);
  2. $app->usePublicPath(__DIR__);
  3. $response $kernel->handle(
  4.     $request Request::capture()
  5. )->send();
  6. $kernel->terminate($request$response);

ReflectionException

Class "Illuminate\Foundation\Bootstrap\HandleExceptions" does not exist

  1.                 array_pop($this->buildStack);
  2.             }
  3.         }
  4.         try {
  5.             $reflector = new ReflectionClass($concrete);
  6.         } catch (ReflectionException $e) {
  7.             throw new BindingResolutionException("Target class [$concrete] does not exist."0$e);
  8.         }
  9.         // If the type is not instantiable, the developer is attempting to resolve
  1.                 array_pop($this->buildStack);
  2.             }
  3.         }
  4.         try {
  5.             $reflector = new ReflectionClass($concrete);
  6.         } catch (ReflectionException $e) {
  7.             throw new BindingResolutionException("Target class [$concrete] does not exist."0$e);
  8.         }
  9.         // If the type is not instantiable, the developer is attempting to resolve
  1.         // We're ready to instantiate an instance of the concrete type registered for
  2.         // the binding. This will instantiate the types, as well as resolve any of
  3.         // its "nested" dependencies recursively until all have gotten resolved.
  4.         $object $this->isBuildable($concrete$abstract)
  5.             ? $this->build($concrete)
  6.             : $this->make($concrete);
  7.         // If we defined any extenders for this type, we'll need to spin through them
  8.         // and apply them to the object being built. This allows for the extension
  9.         // of services, such as changing configuration or decorating the object.
  1.      */
  2.     protected function resolve($abstract$parameters = [], $raiseEvents true)
  3.     {
  4.         $this->loadDeferredProviderIfNeeded($abstract $this->getAlias($abstract));
  5.         return parent::resolve($abstract$parameters$raiseEvents);
  6.     }
  7.     /**
  8.      * Load the deferred provider if the given type is a deferred service and the instance has not been loaded.
  9.      *
  1.      *
  2.      * @throws \Illuminate\Contracts\Container\BindingResolutionException
  3.      */
  4.     public function make($abstract, array $parameters = [])
  5.     {
  6.         return $this->resolve($abstract$parameters);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      *
  1.      */
  2.     public function make($abstract, array $parameters = [])
  3.     {
  4.         $this->loadDeferredProviderIfNeeded($abstract $this->getAlias($abstract));
  5.         return parent::make($abstract$parameters);
  6.     }
  7.     /**
  8.      * Resolve the given type from the container.
  9.      *
  1.         $this->hasBeenBootstrapped true;
  2.         foreach ($bootstrappers as $bootstrapper) {
  3.             $this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]);
  4.             $this->make($bootstrapper)->bootstrap($this);
  5.             $this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]);
  6.         }
  7.     }
  1.      * @return void
  2.      */
  3.     public function bootstrap()
  4.     {
  5.         if (! $this->app->hasBeenBootstrapped()) {
  6.             $this->app->bootstrapWith($this->bootstrappers());
  7.         }
  8.     }
  9.     /**
  10.      * Get the route dispatcher callback.
  1.     {
  2.         $this->app->instance('request'$request);
  3.         Facade::clearResolvedInstance('request');
  4.         $this->bootstrap();
  5.         return (new Pipeline($this->app))
  6.             ->send($request)
  7.             ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  8.             ->then($this->dispatchToRouter());
  1.         $this->requestStartedAt Carbon::now();
  2.         try {
  3.             $request->enableHttpMethodParameterOverride();
  4.             $response $this->sendRequestThroughRouter($request);
  5.         } catch (Throwable $e) {
  6.             $this->reportException($e);
  7.             $response $this->renderException($request$e);
  8.         }
Kernel->handle(object(Request)) in /home/systemkol/public_html/index.php (line 53)
  1. $kernel $app->make(Kernel::class);
  2. $app->usePublicPath(__DIR__);
  3. $response $kernel->handle(
  4.     $request Request::capture()
  5. )->send();
  6. $kernel->terminate($request$response);