ErrorException (E_NOTICE)
Trying to get property 'role' of non-object ErrorException thrown with message "Trying to get property 'role' of non-object" Stacktrace: #50 ErrorException in /var/www/elearning/app/Http/Middleware/AdminIntructor.php:19 #49 Illuminate\Foundation\Bootstrap\HandleExceptions:handleError in /var/www/elearning/app/Http/Middleware/AdminIntructor.php:19 #48 App\Http\Middleware\AdminIntructor:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #47 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/app/Http/Middleware/IpBlock.php:71 #46 App\Http\Middleware\IpBlock:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #45 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/app/Http/Middleware/SwitchLanguage.php:40 #44 App\Http\Middleware\SwitchLanguage:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #43 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/app/Http/Middleware/IsInstalled.php:20 #42 App\Http\Middleware\IsInstalled:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #41 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/app/Http/Middleware/CheckReferral.php:30 #40 App\Http\Middleware\CheckReferral:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #39 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50 #38 Illuminate\Routing\Middleware\SubstituteBindings:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #37 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78 #36 Illuminate\Foundation\Http\Middleware\VerifyCsrfToken:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #35 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 #34 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #33 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121 #32 Illuminate\Session\Middleware\StartSession:handleStatefulRequest in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64 #31 Illuminate\Session\Middleware\StartSession:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #30 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 #29 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #28 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67 #27 Illuminate\Cookie\Middleware\EncryptCookies:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #26 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 #25 Illuminate\Pipeline\Pipeline:then in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Routing/Router.php:697 #24 Illuminate\Routing\Router:runRouteWithinStack in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Routing/Router.php:672 #23 Illuminate\Routing\Router:runRoute in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Routing/Router.php:636 #22 Illuminate\Routing\Router:dispatchToRoute in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Routing/Router.php:625 #21 Illuminate\Routing\Router:dispatch in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:166 #20 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 #19 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php:60 #18 Barryvdh\Debugbar\Middleware\InjectDebugbar:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #17 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/vendor/fruitcake/laravel-cors/src/HandleCors.php:38 #16 Fruitcake\Cors\HandleCors:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #15 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/vendor/fideloper/proxy/src/TrustProxies.php:57 #14 Fideloper\Proxy\TrustProxies:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #13 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 #12 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31 #11 Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #10 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 #9 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40 #8 Illuminate\Foundation\Http\Middleware\TrimStrings:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #7 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 #6 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #5 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86 #4 Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance:handle in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #3 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 #2 Illuminate\Pipeline\Pipeline:then in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:141 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110 #0 Illuminate\Foundation\Http\Kernel:handle in /var/www/elearning/public/index.php:55
50
ErrorException
/app/Http/Middleware/AdminIntructor.php19
49
Illuminate\Foundation\Bootstrap\HandleExceptions handleError
/app/Http/Middleware/AdminIntructor.php19
48
App\Http\Middleware\AdminIntructor handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
47
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/IpBlock.php71
46
App\Http\Middleware\IpBlock handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
45
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/SwitchLanguage.php40
44
App\Http\Middleware\SwitchLanguage handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
43
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/IsInstalled.php20
42
App\Http\Middleware\IsInstalled handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
41
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/CheckReferral.php30
40
App\Http\Middleware\CheckReferral handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
39
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php50
38
Illuminate\Routing\Middleware\SubstituteBindings handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
37
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php78
36
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
35
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php49
34
Illuminate\View\Middleware\ShareErrorsFromSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
33
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php121
32
Illuminate\Session\Middleware\StartSession handleStatefulRequest
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php64
31
Illuminate\Session\Middleware\StartSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
30
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php37
29
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
28
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php67
27
Illuminate\Cookie\Middleware\EncryptCookies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
26
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php103
25
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Routing/Router.php697
24
Illuminate\Routing\Router runRouteWithinStack
/vendor/laravel/framework/src/Illuminate/Routing/Router.php672
23
Illuminate\Routing\Router runRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php636
22
Illuminate\Routing\Router dispatchToRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php625
21
Illuminate\Routing\Router dispatch
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php166
20
Illuminate\Foundation\Http\Kernel Illuminate\Foundation\Http\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php128
19
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php60
18
Barryvdh\Debugbar\Middleware\InjectDebugbar handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
17
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/fruitcake/laravel-cors/src/HandleCors.php38
16
Fruitcake\Cors\HandleCors handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
15
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/fideloper/proxy/src/TrustProxies.php57
14
Fideloper\Proxy\TrustProxies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
13
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php21
12
Illuminate\Foundation\Http\Middleware\TransformsRequest handle
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php31
11
Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
10
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php21
9
Illuminate\Foundation\Http\Middleware\TransformsRequest handle
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php40
8
Illuminate\Foundation\Http\Middleware\TrimStrings handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
7
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php27
6
Illuminate\Foundation\Http\Middleware\ValidatePostSize handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
5
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php86
4
Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
3
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php103
2
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php141
1
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php110
0
Illuminate\Foundation\Http\Kernel handle
/public/index.php55
/var/www/elearning/app/Http/Middleware/AdminIntructor.php
<?php
 
namespace App\Http\Middleware;
 
use Closure;
use Auth;
 
class AdminIntructor
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if(Auth::User()->role == "admin" || Auth::User()->role == "instructor")
        {
            return $next($request);  
        }
        else{
            return back();
        }
    }
}
 
Arguments
  1. "Trying to get property 'role' of non-object"
    
/var/www/elearning/app/Http/Middleware/AdminIntructor.php
<?php
 
namespace App\Http\Middleware;
 
use Closure;
use Auth;
 
class AdminIntructor
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if(Auth::User()->role == "admin" || Auth::User()->role == "instructor")
        {
            return $next($request);  
        }
        else{
            return back();
        }
    }
}
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$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)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/elearning/app/Http/Middleware/IpBlock.php
                        
                    }
                    else
                    {
                        return response()->json(array('Your IP is block'), 200);
                    }
                }
                else
                {
                    return $next($request);
                }
                
            }
            else
            {
                return $next($request);
            }
        }
        else{
            return $next($request);
        }
 
 
 
            
    }
}
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$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)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/elearning/app/Http/Middleware/SwitchLanguage.php
        $def_lang = Language::where('def','=',1)->first();
 
        if (!Session::has('changed_language')) {
            
            if(isset($def_lang))
            {
                
                Session::put('changed_language', $def_lang->local);
 
            }else
            {
                Session::put('changed_language', 'en');
            }
 
        }
 
 
        App::setLocale(Session::get('changed_language'));
        
        return $next($request);
    }
}
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$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)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/elearning/app/Http/Middleware/IsInstalled.php
<?php
 
namespace App\Http\Middleware;
 
use Closure;
 
class IsInstalled
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if(env('IS_INSTALLED') != 0)
        {
            return $next($request);
        }
        else
        {
            return redirect()->route('installer');
        }
    }
}
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$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)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/elearning/app/Http/Middleware/CheckReferral.php
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle(Request $request, Closure $next)
    {
 
        if( $request->hasCookie('referral')) {
            return $next($request);
        }
        else {
            if( $request->query('ref') ) {
                Cookie::queue('referral',$request->query('ref'));
            }
        }
 
        return $next($request);
        
    }
}
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$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)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        try {
            $this->router->substituteBindings($route = $request->route());
 
            $this->router->substituteImplicitBindings($route);
        } catch (ModelNotFoundException $exception) {
            if ($route->getMissing()) {
                return $route->getMissing()($request, $exception);
            }
 
            throw $exception;
        }
 
        return $next($request);
    }
}
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$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)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     *
     * @throws \Illuminate\Session\TokenMismatchException
     */
    public function handle($request, Closure $next)
    {
        if (
            $this->isReading($request) ||
            $this->runningUnitTests() ||
            $this->inExceptArray($request) ||
            $this->tokensMatch($request)
        ) {
            return tap($next($request), function ($response) use ($request) {
                if ($this->shouldAddXsrfTokenCookie()) {
                    $this->addCookieToResponse($request, $response);
                }
            });
        }
 
        throw new TokenMismatchException('CSRF token mismatch.');
    }
 
    /**
     * Determine if the HTTP request uses a ‘read’ verb.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return bool
     */
    protected function isReading($request)
    {
        return in_array($request->method(), ['HEAD', 'GET', 'OPTIONS']);
    }
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$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)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        // If the current session has an "errors" variable bound to it, we will share
        // its value with all view instances so the views can easily access errors
        // without having to bind. An empty bag is set when there aren't errors.
        $this->view->share(
            'errors', $request->session()->get('errors') ?: new ViewErrorBag
        );
 
        // 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);
    }
}
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$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)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
    /**
     * 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 handleStatefulRequest(Request $request, $session, Closure $next)
    {
        // If a session driver has been configured, we will need to start the session here
        // so that the data is ready for an application. Note that the Laravel sessions
        // do not make use of PHP "native" sessions in any way since they are crappy.
        $request->setLaravelSession(
            $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;
    }
 
    /**
     * Start the session for the given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Contracts\Session\Session  $session
     * @return \Illuminate\Contracts\Session\Session
     */
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if (! $this->sessionConfigured()) {
            return $next($request);
        }
 
        $session = $this->getSession($request);
 
        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)
    {
        if (! $request->route() instanceof Route) {
            return;
        }
 
        $lockFor = $request->route() && $request->route()->locksFor()
                        ? $request->route()->locksFor()
                        : 10;
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$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)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
     * Create a new CookieQueue instance.
     *
     * @param  \Illuminate\Contracts\Cookie\QueueingFactory  $cookies
     * @return void
     */
    public function __construct(CookieJar $cookies)
    {
        $this->cookies = $cookies;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @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;
    }
}
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$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)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
     * Disable encryption for the given cookie name(s).
     *
     * @param  string|array  $name
     * @return void
     */
    public function disableFor($name)
    {
        $this->except = array_merge($this->except, (array) $name);
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @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) {
            if ($this->isDisabled($key) || is_array($cookie)) {
                continue;
            }
 
            try {
                $value = $this->decryptCookie($key, $cookie);
 
                $hasValidPrefix = strpos($value, CookieValuePrefix::create($key, $this->encrypter->getKey())) === 0;
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$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)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
    public function via($method)
    {
        $this->method = $method;
 
        return $this;
    }
 
    /**
     * Run the pipeline with a final destination callback.
     *
     * @param  \Closure  $destination
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $pipeline = array_reduce(
            array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
        );
 
        return $pipeline($this->passable);
    }
 
    /**
     * Run the pipeline and return the result.
     *
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $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)
    {
        $computedMiddleware = $route->gatherMiddleware();
 
        $excluded = collect($route->excludedMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten()->values()->all();
 
        $middleware = collect($computedMiddleware)->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten()->reject(function ($name) use ($excluded) {
            if (empty($excluded)) {
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Routing/Router.php
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Routing\Route  $route
     * @return \Symfony\Component\HttpFoundation\Response
     */
    protected function runRoute(Request $request, Route $route)
    {
        $request->setRouteResolver(function () use ($route) {
            return $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)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    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));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
    {
        $this->current = $route = $this->routes->match($request);
 
        $route->setContainer($this->container);
 
        $this->container->instance(Route::class, $route);
 
        return $route;
    }
 
    /**
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function respondWithRoute($name)
    {
        $route = tap($this->routes->getByName($name))->bind($this->currentRequest);
 
        return $this->runRoute($this->currentRequest, $route);
    }
 
    /**
     * Dispatch the request to the application.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    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));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
     * @return void
     */
    public function bootstrap()
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
 
    /**
     * Get the route dispatcher callback.
     *
     * @return \Closure
     */
    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)
    {
        $this->terminateMiddleware($request, $response);
 
        $this->app->terminate();
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    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
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    if (is_callable($pipe)) {
                        // If the pipe is a callable, then we will call it directly, but otherwise we
                        // will resolve the pipes out of the dependency container and call it with
                        // the appropriate method and arguments, returning the results back out.
/var/www/elearning/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php
     * @param  LaravelDebugbar $debugbar
     */
    public function __construct(Container $container, LaravelDebugbar $debugbar)
    {
        $this->container = $container;
        $this->debugbar = $debugbar;
        $this->except = config('debugbar.except') ?: [];
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  Request  $request
     * @param  Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if (!$this->debugbar->isEnabled() || $this->inExceptArray($request)) {
            return $next($request);
        }
 
        $this->debugbar->boot();
 
        try {
            /** @var \Illuminate\Http\Response $response */
            $response = $next($request);
        } catch (Exception $e) {
            $response = $this->handleException($request, $e);
        } catch (Error $error) {
            $e = new FatalThrowableError($error);
            $response = $this->handleException($request, $e);
        }
 
        // Modify the response to add the Debugbar
        $this->debugbar->modifyResponse($request, $response);
 
        return $response;
    }
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$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)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/elearning/vendor/fruitcake/laravel-cors/src/HandleCors.php
    protected $container;
 
    public function __construct(CorsService $cors, Container $container)
    {
        $this->cors = $cors;
        $this->container = $container;
    }
 
    /**
     * Handle an incoming request. Based on Asm89\Stack\Cors by asm89
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return Response
     */
    public function handle($request, Closure $next)
    {
        // Check if we're dealing with CORS and if we should handle it
        if (! $this->shouldRun($request)) {
            return $next($request);
        }
 
        // For Preflight, return the Preflight response
        if ($this->cors->isPreflightRequest($request)) {
            $response = $this->cors->handlePreflightRequest($request);
 
            $this->cors->varyHeader($response, 'Access-Control-Request-Method');
 
            return $response;
        }
 
 
        // Handle the request
        $response = $next($request);
 
        if ($request->getMethod() === 'OPTIONS') {
            $this->cors->varyHeader($response, 'Access-Control-Request-Method');
        }
 
        return $this->addHeaders($request, $response);
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$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)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/elearning/vendor/fideloper/proxy/src/TrustProxies.php
    {
        $this->config = $config;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param \Illuminate\Http\Request $request
     * @param \Closure                 $next
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     *
     * @return mixed
     */
    public function handle(Request $request, Closure $next)
    {
        $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
        $this->setTrustedProxyIpAddresses($request);
 
        return $next($request);
    }
 
    /**
     * Sets the trusted proxies on the request to the value of trustedproxy.proxies
     *
     * @param \Illuminate\Http\Request $request
     */
    protected function setTrustedProxyIpAddresses(Request $request)
    {
        $trustedIps = $this->proxies ?: $this->config->get('trustedproxy.proxies');
 
        // Trust any IP address that calls us
        // `**` for backwards compatibility, but is deprecated
        if ($trustedIps === '*' || $trustedIps === '**') {
            return $this->setTrustedProxyIpAddressesToTheCallingIp($request);
        }
 
        // Support IPs addresses separated by comma
        $trustedIps = is_string($trustedIps) ? array_map('trim', explode(',', $trustedIps)) : $trustedIps;
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$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)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
 
namespace Illuminate\Foundation\Http\Middleware;
 
use Closure;
use Symfony\Component\HttpFoundation\ParameterBag;
 
class TransformsRequest
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    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);
 
        if ($request->isJson()) {
            $this->cleanParameterBag($request->json());
        } elseif ($request->request !== $request->query) {
            $this->cleanParameterBag($request->request);
        }
    }
 
    /**
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
     * @var array
     */
    protected static $skipCallbacks = [];
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        foreach (static::$skipCallbacks as $callback) {
            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)
    {
        return is_string($value) && $value === '' ? null : $value;
    }
 
    /**
     * Register a callback that instructs the middleware to be skipped.
     *
     * @param  \Closure  $callback
     * @return void
     */
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$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)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
 
namespace Illuminate\Foundation\Http\Middleware;
 
use Closure;
use Symfony\Component\HttpFoundation\ParameterBag;
 
class TransformsRequest
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    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);
 
        if ($request->isJson()) {
            $this->cleanParameterBag($request->json());
        } elseif ($request->request !== $request->query) {
            $this->cleanParameterBag($request->request);
        }
    }
 
    /**
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
    protected $except = [
        //
    ];
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        foreach (static::$skipCallbacks as $callback) {
            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)
    {
        if (in_array($key, $this->except, true)) {
            return $value;
        }
 
        return is_string($value) ? trim($value) : $value;
    }
 
    /**
     * Register a callback that instructs the middleware to be skipped.
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$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)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
class ValidatePostSize
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     *
     * @throws \Illuminate\Http\Exceptions\PostTooLargeException
     */
    public function handle($request, Closure $next)
    {
        $max = $this->getPostMaxSize();
 
        if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
            throw new PostTooLargeException;
        }
 
        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;
        }
 
        $metric = strtoupper(substr($postMaxSize, -1));
        $postMaxSize = (int) $postMaxSize;
 
        switch ($metric) {
            case 'K':
                return $postMaxSize * 1024;
            case 'M':
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$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)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
                }
            }
 
            if (isset($data['template'])) {
                return response(
                    $data['template'],
                    $data['status'] ?? 503,
                    $this->getHeaders($data)
                );
            }
 
            throw new HttpException(
                $data['status'] ?? 503,
                'Service Unavailable',
                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)
    {
        return isset($data['secret']) &&
                $request->cookie('laravel_maintenance') &&
                MaintenanceModeBypassCookie::isValid(
                    $request->cookie('laravel_maintenance'),
                    $data['secret']
                );
    }
 
    /**
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$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)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
    public function via($method)
    {
        $this->method = $method;
 
        return $this;
    }
 
    /**
     * Run the pipeline with a final destination callback.
     *
     * @param  \Closure  $destination
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $pipeline = array_reduce(
            array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
        );
 
        return $pipeline($this->passable);
    }
 
    /**
     * Run the pipeline and return the result.
     *
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    protected function sendRequestThroughRouter($request)
    {
        $this->app->instance('request', $request);
 
        Facade::clearResolvedInstance('request');
 
        $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());
        }
    }
 
    /**
     * Get the route dispatcher callback.
     *
     * @return \Closure
     */
    protected function dispatchToRouter()
/var/www/elearning/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
    public function __construct(Application $app, Router $router)
    {
        $this->app = $app;
        $this->router = $router;
 
        $this->syncMiddlewareToRouter();
    }
 
    /**
     * Handle an incoming HTTP request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function handle($request)
    {
        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;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    protected function sendRequestThroughRouter($request)
/var/www/elearning/public/index.php
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
 
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
 
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);
 
$response->send();
 
$kernel->terminate($request, $response);
 

Environment & details:

Key Value
id
"2"
empty
empty
empty
empty
Key Value
USER
"********"
HOME
"********"
SCRIPT_NAME
"**********"
REQUEST_URI
"*********************"
QUERY_STRING
"****"
REQUEST_METHOD
"***"
SERVER_PROTOCOL
"********"
GATEWAY_INTERFACE
"*******"
REDIRECT_QUERY_STRING
"****"
REDIRECT_URL
"****************"
REMOTE_PORT
"*****"
SCRIPT_FILENAME
"***********************************"
SERVER_ADMIN
"*********************"
CONTEXT_DOCUMENT_ROOT
"*************************"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"*****"
DOCUMENT_ROOT
"*************************"
REMOTE_ADDR
"***********"
SERVER_PORT
"***"
SERVER_ADDR
"*************"
SERVER_NAME
"***********************"
SERVER_SOFTWARE
"**********************"
SERVER_SIGNATURE
"*************************************************************************************"
PATH
"**********************************************************************"
HTTP_HOST
"***********************"
HTTP_USER_AGENT
"*********"
HTTP_ACCEPT
"***"
proxy-nokeepalive
"*"
SSL_TLS_SNI
"***********************"
HTTPS
"**"
SCRIPT_URI
"***********************************************"
SCRIPT_URL
"****************"
REDIRECT_STATUS
"***"
REDIRECT_SSL_TLS_SNI
"***********************"
REDIRECT_HTTPS
"**"
REDIRECT_SCRIPT_URI
"***********************************************"
REDIRECT_SCRIPT_URL
"****************"
FCGI_ROLE
"*********"
PHP_SELF
"**********"
REQUEST_TIME_FLOAT
"***"
REQUEST_TIME
"***"
APP_NAME
"*********"
APP_ENV
"*****"
APP_KEY
"***************************************************"
APP_DEBUG
"****"
APP_URL
"********************************"
LOG_CHANNEL
"****"
SESSION_DOMAIN
""
DB_CONNECTION
"*****"
DB_HOST
"*********"
DB_PORT
"****"
DB_DATABASE
"*********"
DB_USERNAME
"*****"
DB_PASSWORD
"*******************"
BROADCAST_DRIVER
"***"
CACHE_DRIVER
"****"
QUEUE_CONNECTION
"********"
SESSION_DRIVER
"****"
SESSION_LIFETIME
"*****"
REDIS_HOST
"*********"
REDIS_PASSWORD
"****"
REDIS_PORT
"****"
MAIL_FROM_NAME
"****************************"
MAIL_FROM_ADDRESS
"*********************"
MAIL_DRIVER
"****"
MAIL_HOST
"**************"
MAIL_PORT
"***"
MAIL_USERNAME
"*********************"
MAIL_PASSWORD
"****************"
MAIL_ENCRYPTION
"***"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
""
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
""
FACEBOOK_CLIENT_ID
"***************"
FACEBOOK_CLIENT_SECRET
"********************************"
FACEBOOK_CALLBACK_URL
"******************************************************"
GOOGLE_CLIENT_ID
"************************************************************************"
GOOGLE_CLIENT_SECRET
"***********************************"
GOOGLE_CALLBACK_URL
"****************************************************"
GITLAB_CLIENT_ID
""
GITLAB_CLIENT_SECRET
""
GITLAB_CALLBACK_URL
"****************************************************"
PAYPAL_CLIENT_ID
"********************************************************************************"
PAYPAL_SECRET
"********************************************************************************"
PAYPAL_MODE
"****"
IM_API_KEY
""
IM_AUTH_TOKEN
""
IM_URL
"******"
STRIPE_KEY
"***********************************************************************************************************"
STRIPE_SECRET
"***********************************************************************************************************"
RAZORPAY_KEY
""
RAZORPAY_SECRET
""
PAYSTACK_PUBLIC_KEY
""
PAYSTACK_SECRET_KEY
""
PAYSTACK_PAYMENT_URL
""
PAYSTACK_MERCHANT_EMAIL
""
PAYTM_ENVIRONMENT
""
PAYTM_MERCHANT_ID
""
PAYTM_MERCHANT_KEY
""
PAYTM_MERCHANT_WEBSITE
""
PAYTM_CHANNEL
""
PAYTM_INDUSTRY_TYPE
""
NOCAPTCHA_SITEKEY
"****************************************"
NOCAPTCHA_SECRET
"****************************************"
AMAZON_LOGIN_ID
""
AMAZON_LOGIN_SECRET
""
AMAZON_LOGIN_REDIRECT
""
BBB_SECURITY_SALT
""
BBB_SERVER_BASE_URL
""
LINKEDIN_CLIENT_ID
""
LINKEDIN_CLIENT_SECRET
""
LINKEDIN_CALLBACK_URL
""
TWITTER_CLIENT_ID
""
TWITTER_CLIENT_SECRET
""
TWITTER_CALLBACK_URL
""
AWS_ACCESS_KEY_ID
""
AWS_SECRET_ACCESS_KEY
""
AWS_DEFAULT_REGION
""
AWS_BUCKET
""
AWS_URL
""
PAYU_METHOD
""
PAYU_DEFAULT
""
PAYU_MERCHANT_KEY
""
PAYU_MERCHANT_SALT
""
PAYU_MONEY_TRUE
"*****"
PAYU_AUTH_HEADER
""
MOLLIE_KEY
""
CASHFREE_APP_ID
""
CASHFREE_SECRET_KEY
""
CASHFREE_END_POINT
""
SKRILL_MERCHANT_EMAIL
""
SKRILL_API_PASSWORD
""
SKRILL_LOGO_URL
""
RAVE_PUBLIC_KEY
""
RAVE_SECRET_KEY
""
RAVE_ENVIRONMENT
""
RAVE_LOGO
""
RAVE_PREFIX
""
RAVE_COUNTRY
""
OMISE_PUBLIC_KEY
""
OMISE_SECRET_KEY
""
OMISE_API_VERSION
""
PAYHERE_MERCHANT_ID
""
PAYHERE_BUISNESS_APP_CODE
""
PAYHERE_APP_SECRET
""
PAYHERE_MODE
""
IYZIPAY_BASE_URL
""
IYZIPAY_API_KEY
""
IYZIPAY_SECRET_KEY
""
IM_REFUND_URL
""
API_DOMAIN_URL
""
IS_LOCALHOST
"****"
STORE_ID
""
STORE_PASSWORD
""
DUMP_BINARY_PATH
""
YOUTUBE_API_KEY
"***************************************"
VIMEO_CLIENT
""
VIMEO_SECRET
""
VIMEO_ACCESS
""
PWA_ENABLE
"*"
PWA_BG_COLOR
""
PWA_THEME_COLOR
""
ONESIGNAL_APP_ID
""
ONESIGNAL_REST_API_KEY
""
AAMARPAY_STORE_ID
""
AAMARPAY_KEY
""
AAMARPAY_SANDBOX
""
TWILIO_SID
""
TWILIO_AUTH_TOKEN
""
TWILIO_NUMBER
""
BRAINTREE_ENV
""
BRAINTREE_MERCHANT_ID
""
BRAINTREE_PUBLIC_KEY
""
BRAINTREE_PRIVATE_KEY
""
GOOGLE_TAG_MANAGER_ID
"***********"
GOOGLE_TAG_MANAGER_ENABLED
""
APP_VERSION
"***"
IS_INSTALLED
"*"
PAYFLEXI_PUBLIC_KEY
""
PAYFLEXI_SECRET_KEY
""
PAYFLEXI_PAYMENT_GATEWAY
""
PAYFLEXI_MODE
""
ESEWA_MERCHANT_ID
""
ESEWA_MODE
""
SMANAGER_CLIENT_ID
""
SMANAGER_CLIENT_SECRET
""
SMANAGER_URL
""
ENABLE_PAYTAB
"*"
PAYTAB_PROFILE_ID
""
PAYTAB_SERVER_KEY
""
ENABLE_DPOPAYMENT
"*"
SERVICE_TYPE
""
COMPANY_TOKEN
""
DPO_SANDBOX
"*"
API_LOGIN_ID
""
TRANSCATION_KEY
""
AUTHORIZE_NET_MODE
"****"
AUTHORIZE_NET_ENABLE
"*"
BKASH_APP_KEY
""
BKASH_APP_SECRET
""
BKASH_USER_NAME
""
BKASH_PASSWORD
""
ENABLE_BKASH
"*"
BKASH_SANDBOX_MODE
"*"
MID_TRANS_CLIENT_KEY
""
MID_TRANS_SERVER_KEY
""
MID_TRANS_MODE
"*******"
MID_TRANS_ENABLE
"*"
SQUARE_PAY_ENABLE
"*"
SQUARE_PAY_LOCATION_ID
""
SQUARE_ACCESS_TOKEN
""
SQUARE_APPLICATION_ID
""
WORLDPAY_CLIENT_KEY
""
WORLDPAY_SECRET_KEY
""
WORLDPAY_ENABLE
"*"
RAVE_SECRET_HASH
""
OPEN_EXCHANGE_RATE_KEY
"********************************"
Key Value
APP_NAME
"*********"
APP_ENV
"*****"
APP_KEY
"***************************************************"
APP_DEBUG
"****"
APP_URL
"********************************"
LOG_CHANNEL
"****"
SESSION_DOMAIN
""
DB_CONNECTION
"*****"
DB_HOST
"*********"
DB_PORT
"****"
DB_DATABASE
"*********"
DB_USERNAME
"*****"
DB_PASSWORD
"*******************"
BROADCAST_DRIVER
"***"
CACHE_DRIVER
"****"
QUEUE_CONNECTION
"********"
SESSION_DRIVER
"****"
SESSION_LIFETIME
"*****"
REDIS_HOST
"*********"
REDIS_PASSWORD
"****"
REDIS_PORT
"****"
MAIL_FROM_NAME
"****************************"
MAIL_FROM_ADDRESS
"*********************"
MAIL_DRIVER
"****"
MAIL_HOST
"**************"
MAIL_PORT
"***"
MAIL_USERNAME
"*********************"
MAIL_PASSWORD
"****************"
MAIL_ENCRYPTION
"***"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
""
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
""
FACEBOOK_CLIENT_ID
"***************"
FACEBOOK_CLIENT_SECRET
"********************************"
FACEBOOK_CALLBACK_URL
"******************************************************"
GOOGLE_CLIENT_ID
"************************************************************************"
GOOGLE_CLIENT_SECRET
"***********************************"
GOOGLE_CALLBACK_URL
"****************************************************"
GITLAB_CLIENT_ID
""
GITLAB_CLIENT_SECRET
""
GITLAB_CALLBACK_URL
"****************************************************"
PAYPAL_CLIENT_ID
"********************************************************************************"
PAYPAL_SECRET
"********************************************************************************"
PAYPAL_MODE
"****"
IM_API_KEY
""
IM_AUTH_TOKEN
""
IM_URL
"******"
STRIPE_KEY
"***********************************************************************************************************"
STRIPE_SECRET
"***********************************************************************************************************"
RAZORPAY_KEY
""
RAZORPAY_SECRET
""
PAYSTACK_PUBLIC_KEY
""
PAYSTACK_SECRET_KEY
""
PAYSTACK_PAYMENT_URL
""
PAYSTACK_MERCHANT_EMAIL
""
PAYTM_ENVIRONMENT
""
PAYTM_MERCHANT_ID
""
PAYTM_MERCHANT_KEY
""
PAYTM_MERCHANT_WEBSITE
""
PAYTM_CHANNEL
""
PAYTM_INDUSTRY_TYPE
""
NOCAPTCHA_SITEKEY
"****************************************"
NOCAPTCHA_SECRET
"****************************************"
AMAZON_LOGIN_ID
""
AMAZON_LOGIN_SECRET
""
AMAZON_LOGIN_REDIRECT
""
BBB_SECURITY_SALT
""
BBB_SERVER_BASE_URL
""
LINKEDIN_CLIENT_ID
""
LINKEDIN_CLIENT_SECRET
""
LINKEDIN_CALLBACK_URL
""
TWITTER_CLIENT_ID
""
TWITTER_CLIENT_SECRET
""
TWITTER_CALLBACK_URL
""
AWS_ACCESS_KEY_ID
""
AWS_SECRET_ACCESS_KEY
""
AWS_DEFAULT_REGION
""
AWS_BUCKET
""
AWS_URL
""
PAYU_METHOD
""
PAYU_DEFAULT
""
PAYU_MERCHANT_KEY
""
PAYU_MERCHANT_SALT
""
PAYU_MONEY_TRUE
"*****"
PAYU_AUTH_HEADER
""
MOLLIE_KEY
""
CASHFREE_APP_ID
""
CASHFREE_SECRET_KEY
""
CASHFREE_END_POINT
""
SKRILL_MERCHANT_EMAIL
""
SKRILL_API_PASSWORD
""
SKRILL_LOGO_URL
""
RAVE_PUBLIC_KEY
""
RAVE_SECRET_KEY
""
RAVE_ENVIRONMENT
""
RAVE_LOGO
""
RAVE_PREFIX
""
RAVE_COUNTRY
""
OMISE_PUBLIC_KEY
""
OMISE_SECRET_KEY
""
OMISE_API_VERSION
""
PAYHERE_MERCHANT_ID
""
PAYHERE_BUISNESS_APP_CODE
""
PAYHERE_APP_SECRET
""
PAYHERE_MODE
""
IYZIPAY_BASE_URL
""
IYZIPAY_API_KEY
""
IYZIPAY_SECRET_KEY
""
IM_REFUND_URL
""
API_DOMAIN_URL
""
IS_LOCALHOST
"****"
STORE_ID
""
STORE_PASSWORD
""
DUMP_BINARY_PATH
""
YOUTUBE_API_KEY
"***************************************"
VIMEO_CLIENT
""
VIMEO_SECRET
""
VIMEO_ACCESS
""
PWA_ENABLE
"*"
PWA_BG_COLOR
""
PWA_THEME_COLOR
""
ONESIGNAL_APP_ID
""
ONESIGNAL_REST_API_KEY
""
AAMARPAY_STORE_ID
""
AAMARPAY_KEY
""
AAMARPAY_SANDBOX
""
TWILIO_SID
""
TWILIO_AUTH_TOKEN
""
TWILIO_NUMBER
""
BRAINTREE_ENV
""
BRAINTREE_MERCHANT_ID
""
BRAINTREE_PUBLIC_KEY
""
BRAINTREE_PRIVATE_KEY
""
GOOGLE_TAG_MANAGER_ID
"***********"
GOOGLE_TAG_MANAGER_ENABLED
""
APP_VERSION
"***"
IS_INSTALLED
"*"
PAYFLEXI_PUBLIC_KEY
""
PAYFLEXI_SECRET_KEY
""
PAYFLEXI_PAYMENT_GATEWAY
""
PAYFLEXI_MODE
""
ESEWA_MERCHANT_ID
""
ESEWA_MODE
""
SMANAGER_CLIENT_ID
""
SMANAGER_CLIENT_SECRET
""
SMANAGER_URL
""
ENABLE_PAYTAB
"*"
PAYTAB_PROFILE_ID
""
PAYTAB_SERVER_KEY
""
ENABLE_DPOPAYMENT
"*"
SERVICE_TYPE
""
COMPANY_TOKEN
""
DPO_SANDBOX
"*"
API_LOGIN_ID
""
TRANSCATION_KEY
""
AUTHORIZE_NET_MODE
"****"
AUTHORIZE_NET_ENABLE
"*"
BKASH_APP_KEY
""
BKASH_APP_SECRET
""
BKASH_USER_NAME
""
BKASH_PASSWORD
""
ENABLE_BKASH
"*"
BKASH_SANDBOX_MODE
"*"
MID_TRANS_CLIENT_KEY
""
MID_TRANS_SERVER_KEY
""
MID_TRANS_MODE
"*******"
MID_TRANS_ENABLE
"*"
SQUARE_PAY_ENABLE
"*"
SQUARE_PAY_LOCATION_ID
""
SQUARE_ACCESS_TOKEN
""
SQUARE_APPLICATION_ID
""
WORLDPAY_CLIENT_KEY
""
WORLDPAY_SECRET_KEY
""
WORLDPAY_ENABLE
"*"
RAVE_SECRET_HASH
""
OPEN_EXCHANGE_RATE_KEY
"********************************"
0. Whoops\Handler\PrettyPageHandler