Illuminate\Contracts\Container\BindingResolutionException
BindingResolutionException
Target class [csrf] does not exist.
GET namepromo.com
PHP 8.3.30 — Laravel 11.48.0
6 vendor frames collapsed
8 vendor frames collapsed
1 vendor frame collapsed
1 vendor frame collapsed
1 vendor frame collapsed
3 vendor frames collapsed
8 vendor frames collapsed
1 vendor frame collapsed
1 vendor frame collapsed
16 vendor frames collapsed
22 vendor frames collapsed
vendor/laravel/framework/src/Illuminate/Container/Container.php
:961
}
try {
$reflector = new ReflectionClass($concrete);
} catch (ReflectionException $e) {
throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
}
// If the type is not instantiable, the developer is attempting to resolve
// an abstract type such as an Interface or Abstract Class and there is
// no binding registered for the abstractions so we need to bail out.
if (! $reflector->isInstantiable()) {
return $this->notInstantiable($concrete);
}
$this->buildStack[] = $concrete;
vendor/laravel/framework/src/Illuminate/Container/Container.php
:832
// We're ready to instantiate an instance of the concrete type registered for
// the binding. This will instantiate the types, as well as resolve any of
// its "nested" dependencies recursively until all have gotten resolved.
$object = $this->isBuildable($concrete, $abstract)
? $this->build($concrete)
: $this->make($concrete);
// If we defined any extenders for this type, we'll need to spin through them
// and apply them to the object being built. This allows for the extension
// of services, such as changing configuration or decorating the object.
foreach ($this->getExtenders($abstract) as $extender) {
$object = $extender($object, $this);
}
// If the requested type is registered as a singleton we'll want to cache off
// the instances in "memory" so we can return it later without creating an
vendor/laravel/framework/src/Illuminate/Foundation/Application.php
:1078
*/
protected function resolve($abstract, $parameters = [], $raiseEvents = true)
{
$this->loadDeferredProviderIfNeeded($abstract = $this->getAlias($abstract));
return parent::resolve($abstract, $parameters, $raiseEvents);
}
/**
* Load the deferred provider if the given type is a deferred service and the instance has not been loaded.
*
* @param string $abstract
* @return void
*/
protected function loadDeferredProviderIfNeeded($abstract)
{
if ($this->isDeferredService($abstract) && ! isset($this->instances[$abstract])) {
vendor/laravel/framework/src/Illuminate/Container/Container.php
:763
*
* @throws \Illuminate\Contracts\Container\BindingResolutionException
*/
public function make($abstract, array $parameters = [])
{
return $this->resolve($abstract, $parameters);
}
/**
* {@inheritdoc}
*
* @template TClass of object
*
* @param string|class-string<TClass> $id
* @return ($id is class-string<TClass> ? TClass : mixed)
*/
public function get(string $id)
vendor/laravel/framework/src/Illuminate/Foundation/Application.php
:1058
*/
public function make($abstract, array $parameters = [])
{
$this->loadDeferredProviderIfNeeded($abstract = $this->getAlias($abstract));
return parent::make($abstract, $parameters);
}
/**
* Resolve the given type from the container.
*
* @template TClass of object
*
* @param string|class-string<TClass>|callable $abstract
* @param array $parameters
* @param bool $raiseEvents
* @return ($abstract is class-string<TClass> ? TClass : mixed)
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:198
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
app/Http/Middleware/MinifyHtml.php
:18
*/
class MinifyHtml
{
public function handle(Request $request, Closure $next)
{
$response = $next($request);
if ($this->isAResponseObject($response) && $this->isAnHtmlResponse($response)) {
$options = [
'jsCleanComments' => true,
];
$output = $response->getContent();
$minified = Minify_HTML::minify($output, $options);
$response->setContent($minified);
}
return $response;
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php
:51
}
throw $exception;
}
return $next($request);
}
}
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php
:161
}
$this->limiter->hit($limit->key, $limit->decaySeconds);
}
$response = $next($request);
foreach ($limits as $limit) {
$response = $this->addHeaders(
$response,
$limit->maxAttempts,
$this->calculateRemainingAttempts($limit->key, $limit->maxAttempts)
);
}
return $response;
}
vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php
:92
&& func_num_args() === 3
&& ! is_null($limiter = $this->limiter->limiter($maxAttempts))) {
return $this->handleRequestUsingNamedLimiter($request, $next, $maxAttempts, $limiter);
}
return $this->handleRequest(
$request,
$next,
[
(object) [
'key' => $prefix.$this->resolveRequestSignature($request),
'maxAttempts' => $this->resolveMaxAttempts($request, $maxAttempts),
'decaySeconds' => 60 * $decayMinutes,
'responseCallback' => null,
],
]
);
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php
:49
// Putting the errors in the view for every view allows the developer to just
// assume that some errors are always available, which is convenient since
// they don't have to continually run checks for the presence of errors.
return $next($request);
}
}
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
app/Http/Middleware/MarkNotificationAsRead.php
:40
$redirect = $this->buildRedirectUrl($request, $params);
return redirect($redirect);
}
}
return $next($request);
}
protected function buildRedirectUrl(Request $request, $query)
{
$question = $request->getBaseUrl().$request->getPathInfo() === '/' ? '/?' : '?';
return $query ? $request->url().$question.Arr::query($query) : $request->url();
}
}
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
app/Http/Middleware/TrackUserTimezone.php
:13
class TrackUserTimezone
{
public function handle(Request $request, Closure $next): mixed
{
if (!auth()->check()) {
return $next($request);
}
$user = $request->user();
if (!empty($user->timezone)) {
return $next($request);
}
$timezone = $request->cookie('user_timezone');
if (!empty($timezone)) {
$user->timezone = $timezone;
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
app/Http/Middleware/TrackUserActivity.php
:17
class TrackUserActivity
{
public function handle(Request $request, Closure $next): mixed
{
if (!auth()->check()) {
return $next($request);
}
dispatch(new TrackUserActivityJob($request->user()));
return $next($request);
}
}
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
app/Http/Middleware/TrackAdClicks.php
:20
$this->trackGoogleClick($request);
$this->trackFbClick($request);
return $next($request);
}
protected function shouldCheckClick(Request $request): bool
{
$clickId = $request->session()->get('ads:click:id');
$clickType = $request->session()->get('ads:click:type');
if (!empty($clickId) && !empty($clickType)) {
/*$remoteIp = $request->ip();
logs('clicks')->debug('Ignoring incoming request already has ad click ID in session', [
'click_id' => $clickId,
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/spatie/laravel-referer/src/CaptureReferer.php
:21
public function handle($request, Closure $next)
{
$this->referer->putFromRequest($request);
return $next($request);
}
}
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
app/Http/Middleware/CaptureVisitAttribution.php
:21
{
use InteractsWithBots;
public function handle(Request $request, Closure $next): mixed
{
$response = $next($request);
if (!$request->isMethod('get')) {
return $response;
}
if ($this->disableForAuth()) {
return $response;
}
if ($this->disableForRobots($request)) {
return $response;
}
if ($this->disableForInternalLinks($request)) {
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
:121
$this->startSession($request, $session)
);
$this->collectGarbage($session);
$response = $next($request);
$this->storeCurrentUrl($request, $session);
$this->addCookieToResponse($response, $session);
// Again, if the session has been configured we will need to close out the session
// so that the attributes may be persisted to some storage medium. We will also
// add the session identifier cookie to the application response headers now.
$this->saveSession($request);
return $response;
vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
:64
if ($this->manager->shouldBlock() ||
($request->route() instanceof Route && $request->route()->locksFor())) {
return $this->handleRequestWhileBlocking($request, $session, $next);
}
return $this->handleStatefulRequest($request, $session, $next);
}
/**
* Handle the given request within session state.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Contracts\Session\Session $session
* @param \Closure $next
* @return mixed
*/
protected function handleRequestWhileBlocking(Request $request, $session, Closure $next)
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
:37
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
foreach ($this->cookies->getQueuedCookies() as $cookie) {
$response->headers->setCookie($cookie);
}
return $response;
}
}
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
:75
* @param \Closure $next
* @return \Symfony\Component\HttpFoundation\Response
*/
public function handle($request, Closure $next)
{
return $this->encrypt($next($this->decrypt($request)));
}
/**
* Decrypt the cookies on the request.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* @return \Symfony\Component\HttpFoundation\Request
*/
protected function decrypt(Request $request)
{
foreach ($request->cookies as $key => $cookie) {
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
app/Http/Middleware/RedirectRequests.php
:23
if ($redirect && $redirect->exists) {
return redirect($redirect->new_url, $redirect->status);
}
return $next($request);
}
}
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
app/Http/Middleware/GreatFirewall.php
:43
if ($this->blockIpAddress($request)) {
abort(401);
// abort(403);
}
return $next($request);
}
protected function blockIpAddress($request): bool
{
$remoteIp = $request->ip();
$blocklist = $this->blocklist;
if (!in_array($remoteIp, $blocklist)) {
return false;
}
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
app/Http/Middleware/BlockBotTraffic.php
:27
if ($this->blockUserAgent($request)) {
abort(403);
}
return $next($request);
}
protected function blockUserAgent($request): bool
{
$userAgent = $request->userAgent();
if (empty($userAgent)) {
return false;
}
$blocklist = $this->blocklist;
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:127
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
try {
return $pipeline($this->passable);
} finally {
if ($this->finally) {
($this->finally)($this->passable);
}
}
}
/**
* Run the pipeline and return the result.
*
* @return mixed
vendor/laravel/framework/src/Illuminate/Routing/Router.php
:807
$middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
return (new Pipeline($this->container))
->send($request)
->through($middleware)
->then(fn ($request) => $this->prepareResponse(
$request, $route->run()
));
}
/**
* Gather the middleware for the given route with resolved class names.
*
* @param \Illuminate\Routing\Route $route
* @return array
*/
public function gatherRouteMiddleware(Route $route)
vendor/laravel/framework/src/Illuminate/Routing/Router.php
:786
$request->setRouteResolver(fn () => $route);
$this->events->dispatch(new RouteMatched($route, $request));
return $this->prepareResponse($request,
$this->runRouteWithinStack($route, $request)
);
}
/**
* Run the given route within a Stack "onion" instance.
*
* @param \Illuminate\Routing\Route $route
* @param \Illuminate\Http\Request $request
* @return mixed
*/
protected function runRouteWithinStack(Route $route, Request $request)
vendor/laravel/framework/src/Illuminate/Routing/Router.php
:750
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Routing\Route
*/
protected function findRoute($request)
{
$this->events->dispatch(new Routing($request));
vendor/laravel/framework/src/Illuminate/Routing/Router.php
:739
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
:201
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Call the terminate method on any terminable middleware.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Http\Response $response
* @return void
*/
public function terminate($request, $response)
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:170
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/FlushEventsMiddleware.php
:13
class FlushEventsMiddleware
{
public function handle(Request $request, Closure $next)
{
return $next($request);
}
public function terminate(Request $request, $response): void
{
Integration::flushEvents();
}
}
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestIpMiddleware.php
:45
]);
});
}
}
return $next($request);
}
}
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestMiddleware.php
:31
if ($psrRequest !== null) {
$container->instance(LaravelRequestFetcher::CONTAINER_PSR7_INSTANCE_KEY, $psrRequest);
}
}
return $next($request);
}
private function resolvePsrRequest(Container $container): ?ServerRequestInterface
{
try {
return $container->make(ServerRequestInterface::class);
} catch (Throwable $e) {
// Do not crash if there is an exception thrown while resolving the request object
}
return null;
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php
:19
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
if ($response instanceof Response && SupportDisablingBackButtonCache::$disableBackButtonCache){
$response->headers->add([
'Pragma' => 'no-cache',
'Expires' => 'Fri, 01 Jan 1990 00:00:00 GMT',
'Cache-Control' => 'no-cache, must-revalidate, no-store, max-age=0, private',
]);
}
return $response;
}
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
app/Http/Middleware/SentryTrace.php
:31
// \Sentry\configureScope(function (\Sentry\State\Scope $scope) use ($sentryTrace): void {
// $scope->setTag('transaction_id', $sentryTrace);
// });
}
return $next($request);
}
}
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
:21
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
* @param \Illuminate\Http\Request $request
* @return void
*/
protected function clean($request)
{
$this->cleanParameterBag($request->query);
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
:31
if ($callback($request)) {
return $next($request);
}
}
return parent::handle($request, $next);
}
/**
* Transform the given value.
*
* @param string $key
* @param mixed $value
* @return mixed
*/
protected function transform($key, $value)
{
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
:21
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
* @param \Illuminate\Http\Request $request
* @return void
*/
protected function clean($request)
{
$this->cleanParameterBag($request->query);
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
:51
if ($callback($request)) {
return $next($request);
}
}
return parent::handle($request, $next);
}
/**
* Transform the given value.
*
* @param string $key
* @param mixed $value
* @return mixed
*/
protected function transform($key, $value)
{
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php
:27
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException('The POST data is too large.');
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
* @return int
*/
protected function getPostMaxSize()
{
if (is_numeric($postMaxSize = ini_get('post_max_size'))) {
return (int) $postMaxSize;
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
:110
null,
$this->getHeaders($data)
);
}
return $next($request);
}
/**
* Determine if the incoming request has a maintenance mode bypass cookie.
*
* @param \Illuminate\Http\Request $request
* @param array $data
* @return bool
*/
protected function hasValidBypassCookie($request, array $data)
{
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php
:49
* @return \Illuminate\Http\Response
*/
public function handle($request, Closure $next)
{
if (! $this->hasMatchingPath($request)) {
return $next($request);
}
$this->cors->setOptions($this->container['config']->get('cors', []));
if ($this->cors->isPreflightRequest($request)) {
$response = $this->cors->handlePreflightRequest($request);
$this->cors->varyHeader($response, 'Access-Control-Request-Method');
return $response;
}
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
:58
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames());
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request.
*
* @param \Illuminate\Http\Request $request
* @return void
*/
protected function setTrustedProxyIpAddresses(Request $request)
{
$trustedIps = $this->proxies() ?: config('trustedproxy.proxies');
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php
:22
* @param \Closure $next
* @return \Symfony\Component\HttpFoundation\Response
*/
public function handle(Request $request, Closure $next)
{
return $next($request);
}
/**
* Invoke the deferred callbacks.
*
* @param \Illuminate\Http\Request $request
* @param \Symfony\Component\HttpFoundation\Response $response
* @return void
*/
public function terminate(Request $request, Response $response)
{
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Middleware.php
:79
{
if (app()->bound(HubInterface::class)) {
$this->startTransaction($request);
}
return $next($request);
}
/**
* Handle the application termination.
*
* @param \Illuminate\Http\Request $request
* @param mixed $response
*
* @return void
*/
public function terminate(Request $request, $response): void
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:209
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
:127
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
try {
return $pipeline($this->passable);
} finally {
if ($this->finally) {
($this->finally)($this->passable);
}
}
}
/**
* Run the pipeline and return the result.
*
* @return mixed
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
:176
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
* @return void
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
:145
$this->requestStartedAt = Carbon::now();
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
$this->app['events']->dispatch(
new RequestHandled($request, $response)
);
return $response;
public/index.php
:51
$app = require_once __DIR__.'/../bootstrap/app.php';
$kernel = $app->make(Kernel::class);
$response = tap($kernel->handle(
$request = Request::capture()
))->send();
$kernel->terminate($request, $response);
Request
GET
/contact
Headers
accept-encoding
gzip
x-real-ip
198.54.114.77
x-forwarded-proto
https
x-forwarded-host
namepromo.com
x-forwarded-for
198.54.114.77
via
2.0 Caddy
accept
*/*
user-agent
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
host
namepromo.com
Body
No body data
Application
Routing
controller
App\Http\Controllers\Site\ContactController@form
route name
contact
middleware
web, csrf, throttle:6,1, Closure
Database Queries
mysql
(1.13 ms)
select * from `redirects` where `old_url` = 'contact' and `new_url` is not null and `status` in (302, 301, 307) order by `created_at` desc limit 1
mysql
(0.16 ms)
select * from `sessions` where `id` = 'QNR45HkMb24bDXT9Du38xOJBKXK9SKnlCAeSAlAn' limit 1