AlexGodbehere

AlexGodbehere

Member Since 1 Year Ago

Experience Points 26,950
Experience Level 6

3,050 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed 261
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • Chatty Cathy Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

24 Mar
3 weeks ago

AlexGodbehere started a new conversation Is There A Way To Persist Certain Tables Between Tests?

I have a set of tables that hold information about things that will never change in my database such as country information. I'm currently re-seeding this data in setUp() before every test, which is making my tests incredibly slow.

I'm using MySQL for a test database, so I wouldn't mind manually seeding the data but the RefreshDatabase trait clears out all tables. Is there a way to keep data in some tables when using this trait?

AlexGodbehere left a reply on Database Does Not Exist When Trying To Use MySQL For PHPUnit Tests

Solved. During seeding, I was manually specifying the database type. Thanks for your help.

To clarify, removing the DB_DATABASE line from phpunit.xml solved the problem.

AlexGodbehere left a reply on Database Does Not Exist When Trying To Use MySQL For PHPUnit Tests

Something strange is definitely happening. This is my phpunit.xml:

<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         bootstrap="vendor/autoload.php"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false">
    <testsuites>
        <testsuite name="Feature">
            <directory suffix="Test.php">./tests/Feature</directory>
        </testsuite>

        <testsuite name="Unit">
            <directory suffix="Test.php">./tests/Unit</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./app</directory>
        </whitelist>
    </filter>
    <php>
        <env name="APP_ENV" value="testing"/>
        <env name="DB_CONNECTION" value="testing"/>
        <env name="CACHE_DRIVER" value="array"/>
        <env name="SESSION_DRIVER" value="array"/>
        <env name="QUEUE_DRIVER" value="sync"/>
        <env name="BROADCAST_DRIVER" value="log"/>
    </php>
</phpunit>

This is my database.php:

<?php

return [

        /*
        |--------------------------------------------------------------------------
        | Default Database Connection Name
        |--------------------------------------------------------------------------
        |
        | Here you may specify which of the database connections below you wish
        | to use as your default connection for all database work. Of course
        | you may use many connections at once using the Database library.
        |
        */

        'default' => env('DB_CONNECTION', 'mysql'),

        /*
        |--------------------------------------------------------------------------
        | Database Connections
        |--------------------------------------------------------------------------
        |
        | Here are each of the database connections setup for your application.
        | Of course, examples of configuring each database platform that is
        | supported by Laravel is shown below to make development simple.
        |
        |
        | All database work in Laravel is done through the PHP PDO facilities
        | so make sure you have the driver for your particular database of
        | choice installed on your machine before you begin development.
        |
        */

        'connections' => [

            'sqlite' => [
                'driver'   => 'sqlite',
                'database' => env('DB_DATABASE', database_path('database.sqlite')),
                'prefix'   => '',],

            'mysql' => [
                'driver'             => 'mysql',
                'host'               => env('DB_HOST', '127.0.0.1'),
                'port'               => env('DB_PORT', '3306'),
                'database'           => env('DB_DATABASE', 'app'),
                'username'           => env('DB_USERNAME', 'root'),
                'password'           => env('DB_PASSWORD', ''),
                'unix_socket'        => env('DB_SOCKET', ''),
                'charset'            => 'utf8mb4',
                'collation'          => 'utf8mb4_unicode_ci',
                'prefix'             => '',
                'strict'             => true,
                'engine'             => null,
                'options'            => [PDO::MYSQL_ATTR_LOCAL_INFILE => true],
                'max_allowed_packet' => '500M'],

            'testing' => [
                'driver'             => 'mysql',
                'host'               => env('DB_HOST', '127.0.0.1'),
                'port'               => env('DB_PORT', '3306'),
                'database'           => env('DB_DATABASE', 'testing'),
                'username'           => env('DB_USERNAME', 'root'),
                'password'           => env('DB_PASSWORD', ''),
                'unix_socket'        => env('DB_SOCKET', ''),
                'charset'            => 'utf8mb4',
                'collation'          => 'utf8mb4_unicode_ci',
                'prefix'             => '',
                'strict'             => true,
                'engine'             => null,
                'options'            => [PDO::MYSQL_ATTR_LOCAL_INFILE => true],
                'max_allowed_packet' => '500M'],


            'pgsql' => [
                'driver'   => 'pgsql',
                'host'     => env('DB_HOST', '127.0.0.1'),
                'port'     => env('DB_PORT', '5432'),
                'database' => env('DB_DATABASE', 'forge'),
                'username' => env('DB_USERNAME', 'forge'),
                'password' => env('DB_PASSWORD', ''),
                'charset'  => 'utf8',
                'prefix'   => '',
                'schema'   => 'public',
                'sslmode'  => 'prefer',],

        ],

        /*
        |--------------------------------------------------------------------------
        | Migration Repository Table
        |--------------------------------------------------------------------------
        |
        | This table keeps track of all the migrations that have already run for
        | your application. Using this information, we can determine which of
        | the migrations on disk haven't actually been run in the database.
        |
        */

        'migrations' => 'migrations',

        /*
        |--------------------------------------------------------------------------
        | Redis Databases
        |--------------------------------------------------------------------------
        |
        | Redis is an open source, fast, and advanced key-value store that also
        | provides a richer set of commands than a typical key-value systems
        | such as APC or Memcached. Laravel makes it easy to dig right in.
        |
        */

        'redis' => [

            'client' => 'predis',

            'default' => [
                'host'     => env('REDIS_HOST', '127.0.0.1'),
                'password' => env('REDIS_PASSWORD', null),
                'port'     => env('REDIS_PORT', 6379),
                'database' => 0,],

        ],

    ];

But when I try to run a test, I'm now getting:

Illuminate\Database\QueryException : Database (/Users/user/webdev/app/database/database.sqlite) does not exist.

I have no idea why it's trying to use SQLite.

19 Mar
1 month ago

AlexGodbehere left a reply on Database Does Not Exist When Trying To Use MySQL For PHPUnit Tests

Thanks for the reply. I have an entry in my database.php's connections like this:

'testing' => [
                'driver'             => 'mysql',
                'host'               => env('DB_HOST', '127.0.0.1'),
                'port'               => env('DB_PORT', '3306'),
                'database'           => env('DB_DATABASE', 'testing'),
                'username'           => env('DB_USERNAME', 'root'),
                'password'           => env('DB_PASSWORD', ''),
                'unix_socket'        => env('DB_SOCKET', ''),
                'charset'            => 'utf8mb4',
                'collation'          => 'utf8mb4_unicode_ci',
                'prefix'             => '',
                'strict'             => true,
                'engine'             => null,
                'options'            => [PDO::MYSQL_ATTR_LOCAL_INFILE => true],
                'max_allowed_packet' => '500M'],

My phpunit.xml looks like this:

<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         bootstrap="vendor/autoload.php"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false">
    <testsuites>
        <testsuite name="Feature">
            <directory suffix="Test.php">./tests/Feature</directory>
        </testsuite>

        <testsuite name="Unit">
            <directory suffix="Test.php">./tests/Unit</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./app</directory>
        </whitelist>
    </filter>
    <php>
        <env name="APP_ENV" value="testing"/>
        <env name="DB_CONNECTION" value="testing"/>
        <env name="DB_DATABASE" value="testing"/>
        <env name="CACHE_DRIVER" value="array"/>
        <env name="SESSION_DRIVER" value="array"/>
        <env name="QUEUE_DRIVER" value="sync"/>
        <env name="BROADCAST_DRIVER" value="log"/>
    </php>
</phpunit>
16 Mar
1 month ago

AlexGodbehere started a new conversation Database Does Not Exist When Trying To Use MySQL For PHPUnit Tests

I have a MySQL database on my local machine that I use for development. Up to now, I've been using sqlite in-memory databases for my testing, but I want to test my quite against a MySQL database. I've set up a new connection that uses the same details as my local development MySQL, but with a different database name. If I try to run a test, I get the following error:

Illuminate\Database\QueryException : SQLSTATE[HY000] [1049] Unknown database 'app_testing' (SQL: SHOW FULL TABLES WHERE table_type = 'BASE TABLE')

Ok, no problem - I'll make the table

create database app_testing

But when I run the tests this time, I get the following error:

Illuminate\Database\QueryException : Database (app_testing) does not exist.

What's going on here? The app can see the database, so why can't PHPUnit? It must be able to some degree to change the error. Any advice would be appreciated.

04 Feb
2 months ago

AlexGodbehere started a new conversation Does A Platform Like InstaBug Exist For Laravel?

I'm looking for a platform where users can report bugs and feature requests in-app as part of a beta test. https://instabug.com/ looks good, but it only seems to be for mobile applications. Does something like this exist for Laravel?

05 Jan
3 months ago

AlexGodbehere left a reply on Best Approach To Sanitising API Requests?

So as long as I'm using Eloquent to set the values in the database, there's no reason to not allow Laravel to handle sanitisation?

AlexGodbehere started a new conversation Best Approach To Sanitising API Requests?

Is it considered best practice to sanitise API requests with the standard Laravel form Request method or is there a more API-oriented approach that would be better suited?

02 Dec
4 months ago

AlexGodbehere left a reply on Is It OK To Have Duplicate Routes For Web And API?

@TAKDW - The route will be exposed externally. So it's acceptable to have it in both?

AlexGodbehere left a reply on Laravel Passport Suddenly Returning 401 On Vue/Axios API Calls

I solved this by running php artisan passport:keys

AlexGodbehere started a new conversation Is It OK To Have Duplicate Routes For Web And API?

I have a resource, which has a show() method and uses route model binding. The method looks like this:

public function show(Resource $resource)
    {
        if (request()->wantsJson()) {
            return $resource;
        }
        return view('dashboard.resource', compact('resource'));
    }

Is it acceptable to have the route to get this resource in both my routes/web.php and routes/api.php? By keeping it only in my routes\web.php file, it feels wrong when calling it from my API and by keeping it only in my routes\api.php file, it feels wrong appending /api/ to the URL.

04 Sep
7 months ago

AlexGodbehere started a new conversation Laravel Passport Suddenly Returning 401 On Vue/Axios API Calls

My application has an API that I consume from my JavaScript/Vue front end. Recently, I (unrelated) tried to unsecure Valet in order to share the site to perform webhook tests. I received a Brew 'Unable to determine linked PHP' error. Long story short I restored the symlink, updated composer dependencies and resecured Valet to ensure nothing was broken.

Upon loading my application, all calls to my Laravel Passport secured API are returning 401. My unit tests are all passing, so the non-javascript authentication is working.

Both the laravel_token and the x-csrf-token are being sent in the request header and I still have CreateFreshApiToken middleware in my Kernel.php.

Has anyone got any ideas as to where I can start to look to debug this?

19 Aug
8 months ago

AlexGodbehere left a reply on Many To Many Attach() Throwing Exception

Solved: I hadn't inherited the Pivot class in my AircraftHangar model.

AlexGodbehere started a new conversation Many To Many Attach() Throwing Exception

I have a many to many relationship set up:

public function aircraft () {

            return $this->belongsToMany(Aircraft::class, 'aircraft_hangars')->using(AircraftHangar::class)->withTimestamps();
        }

But when I try and attach a record to it from a method in the same class:

$this->aircraft()->attach($aircraft);

I'm getting the following error:

BadMethodCallException with message 'Method Illuminate/Database/Query/Builder::fromRawAttributes does not exist.'

I'm performing similar logic within other parts of my application without any issues.

18 Aug
8 months ago

AlexGodbehere started a new conversation Route Model Binding Not Returning Any Results

I have a route:

Route::post('/aircraft/showroom/{aircraft_type}/purchase', '[email protected]');

Which points to this method on the controller:

public function store (Request $request, AircraftType $aircraftType) {

            dd($aircraftType);
        }

On the model, I've set getRouteKeyName as the slug:

public function getRouteKeyName () {

            return 'slug';
        }

However when I call the method in a test, I'm getting 'No query results for model [App\AircraftType]'

$this->post('/api/aircraft/showroom/cessna-152/purchase')
```

The record exists:

App\AircraftType {#2944 id: 68, slug: "cessna-152", created_at: null, updated_at: "2018-08-17 18:56:59", manufacturer: "Cessna", model: "152",

...


I'm pulling my hair out. Does anyone have any suggestions?

06 Aug
8 months ago

AlexGodbehere left a reply on When To Run Import For Scout (with TntSearch)

Did you find an answer to this? My dataset is >50k entries and takes a long time to index, however isn't likely to change. I assume doing it once and leaving it would be the best approach?

17 May
11 months ago

AlexGodbehere left a reply on Passport - Laravel_token Is Valid For First Request But Not Subsequent Requests

I solved this by removing the web middleware from my API route. Why it was there in the first place, I have no idea.

I changed my api.php from

Route::group([ 'middleware' => [ 'web', 'auth:api']], function() {

Route::post('/banking/transactions', '[email protected]');

Route::get('/banking/accounts', '[email protected]');
Route::get('/accounts/{account}', '[email protected]');
Route::get('/banking/accounts/search/{term?}',    

'[email protected]'); });

to

Route::group([ 'middleware' => [ 'auth:api']], function() {

Route::post('/banking/transactions', '[email protected]');

Route::get('/banking/accounts', '[email protected]');
Route::get('/accounts/{account}', '[email protected]');
Route::get('/banking/accounts/search/{term?}',  

'[email protected]'); });

Should the API routes be under the web group to benefit from the middleware, or am I safe to do this?

AlexGodbehere started a new conversation Passport - Laravel_token Is Valid For First Request But Not Subsequent Requests

I have installed Laravel Passport and configured it according to the documentation. When calling axios.get from my VueJS file, the first call works as expected. the laravel_session Request Cookie is injected into the request, and the authentication passes, returning the resource.

My problem arises when I try to call the axios.get method again. My use case here is a search function. I'm making a call to /api/banking/accounts/search/{search-term} whenever the user types into a text field, using the code below:

remoteMethod(query) { if (query !== '') { this.loading = true;

            axios.get(
                `/api/banking/accounts/search/${escape(query)}`
            ).then(res => {
                this.destinationAccountDirectory = res.data;
                this.loading = false;
            });
        } else {
            this.destinationAccountDirectory = [];
        }
    },

This code works fine without any auth:api middleware on the route, and for the first time with auth:api middleware. Upon the first successful API call, the laravel_token changes and is rejected for all subsequent calls. Does anyone have any ideas?

24 Apr
11 months ago

AlexGodbehere started a new conversation How Do I Get Data Returned From A Method In The Model Into Vue?

I have a controller that performs an Eloquent query to select all bank accounts and sends the collection to a view, which iterates through and draws a Vue component representing each one. The problem I have is that the model for each bank account contains a method I need to call to calculate historic transactions to populate a chart on the Vue instance. Am I going about this wrong or is there a relatively simple way to get this data in?

Model:

public function getBalanceHistory (int $months) {

            $transactions = Transaction::where('source_account', $this->account_number)
                                       ->orWhere('destination_account', $this->account_number)
                                       ->where('created_at', '>', Carbon::now()
                                                                        ->subMonths($months))
                                       ->where('status', 'complete')
                                       ->orderBy('created_at', 'asc')
                                       ->get();
            
            // ... calculate $timeseries

            return $timeseries;
        }

BankAccountController:

public function index () {

            $accounts = $this->getAccounts(auth()->user());

            if (request()->wantsJson()) {
                return $accounts;
            }

            return view('dashboard.banking.accounts', compact('accounts'));
        }

accounts.blade.php

@foreach ($accounts as $account)
                        <fsc-banking-account-list-item :data="{{ $account }}"></fsc-banking-account-list-item>
                    @endforeach

I effectively want to call $account->getBalanceHistory(3) within the Vue component. Is this possible?

20 Apr
11 months ago

AlexGodbehere left a reply on $model->fresh() Returning Null In PHPUnit

Figured it out. I'd deleted the auto-incrementing id field and set a field pair to be primary key, which it didn't like. Reverted back to standard primary key field for now.

19 Apr
1 year ago

AlexGodbehere left a reply on $model->fresh() Returning Null In PHPUnit

Quick update. I changed the database from :memory: to the production database just to check and I'm getting a different error.

Illuminate\Database\QueryException : SQLSTATE[42S22]: Column not found: 1054 Unknown column 'id' in 'where clause' (SQL: select * from `bank_accounts` where `id` = 0 limit 1)

AlexGodbehere left a reply on $model->fresh() Returning Null In PHPUnit

Still the same error. I can't seem to spot anything that's changed in the code.

AlexGodbehere left a reply on $model->fresh() Returning Null In PHPUnit

Yeah, it's just this:

function create ($class, $attributes = [], $times = null) {

        return factory($class, $times)->create($attributes);
    }

Behaves the same outside of testing.

AlexGodbehere started a new conversation $model->fresh() Returning Null In PHPUnit

I'm trying to get a fresh copy of a model, but the fresh() function is returning null. Has anyone come across this before? Code below:

/** @test */
        public function it_credits_and_debits_the_correct_accounts_when_a_transaction_is_made () {

            $this->signIn();
            $sourceBankAccount = create('App\BankAccount', ['balance' => 100.00]);
            $destinationBankAccount = create('App\BankAccount', ['balance' => 0.00]);

            factory('App\Transaction')->create([
                'source_account'      => $sourceBankAccount->account_number,
                'destination_account' => $destinationBankAccount->account_number,
                'amount'              => 50.00,
                'reference'           => 'Test transaction']);


            $this->assertEquals(50.00, $sourceBankAccount->fresh()->balance);
            $this->assertEquals(50.00, $destinationBankAccount->fresh()->balance);
        }

AlexGodbehere left a reply on TokenMismatchException For Tests

It did, thanks. I was just curious as to why it wasn't being disabled out of the box.

17 Apr
1 year ago

AlexGodbehere left a reply on TokenMismatchException For Tests

According to the Laravel 5.6 documentation, the CSRF middleware is automatically disabled when running tests.

https://laravel.com/docs/5.6/http-tests

AlexGodbehere left a reply on TokenMismatchException For Tests

Thanks guys. Shouldn't this be automatically disabled in 5.6 though?

16 Apr
1 year ago

AlexGodbehere started a new conversation TokenMismatchException For Tests

Hi all. I'm starting a new project and I've just written my first test, but it's failing on CSRF validation. I was under the impression that CSRF validation was disabled for testing? Where does the logic live to disable this?

''' /** @test */ public function a_user_can_open_a_bank_account () {

        // Given we have a user
        $this->signIn();

        // And a new bank account
        $newBankAccount = make(BankAccount::class, [
            'user_id' => auth()->id()
        ]);

        // And they submit the form to open a new bank account
        $this->post(auth()->id() . '/banking/account', $newBankAccount->toArray());

        // Then they should have a bank account associated with them
        $this->assertEquals(1, auth()->user()->bankAccounts()->count());
    }

'''

''' Illuminate\Session\TokenMismatchException

'''

09 Jan
1 year ago

AlexGodbehere left a reply on Tests Failing In PHPStorm But Passing In ITerm

Update! Hopefully this will be useful for anyone else who experiences a problem like this.

When running PHPUnit from PHPStorm my database was being destroyed (i.e. It wasn't using the sqlite database in memory), despite the phpunit.xml file telling it to. I'd noticed the database occasionally resetting, however I'd never connected the dots.

The solution was in PHPStorm's PHPUnit configuration. The 'Default configuration file' path was not set to point to the phpunit.xml file above.

22 Dec
1 year ago

AlexGodbehere started a new conversation Tests Failing In PHPStorm But Passing In ITerm

I've been testing using PHPUnit using iTerm with no problem, however I recently decided to configure PHPStorm so that I can test inside my IDE. For some reason half of my tests fail when running tests inside PHPStorm, but all pass in iTerm.

The majority of the error messages I'm getting is as follows. Does anyone have any ideas?

```

Failed asserting that exception of type "Illuminate\Session\TokenMismatchException" matches expected exception "Illuminate\Auth\AuthenticationException". Message was: "" at /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:70 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:59 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Routing/Router.php:647 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Routing/Router.php:622 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Routing/Router.php:588 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Routing/Router.php:577 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 /Users/alexgodbehere/webdev/forum/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php:58 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 /Users/alexgodbehere/webdev/forum/vendor/fideloper/proxy/src/TrustProxies.php:56 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:46 /Users/alexgodbehere/webdev/forum/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149