Home » Php » php – Class 'Illuminate\Session\CommandsServiceProvider' not found in laravel 6.1

php – Class 'Illuminate\Session\CommandsServiceProvider' not found in laravel 6.1

Posted by: admin February 23, 2020 Leave a comment

Questions:
    /**
     * @param  string  $provider
     * @return \Illuminate\Support\ServiceProvider
     */
    public function createProvider($provider)
    {
        return new $provider($this->app);
    }
How to&Answers:

composer update’ should fix your issue.

composer dump-autoload

composer update

Answer:

Server Requirements

The Laravel framework has a few system requirements. Before we will install laravel 6.1 on windows, read some system requirements.

PHP >= 7.2.0
BCMath PHP Extension
Ctype PHP Extension
JSON PHP Extension
Mbstring PHP Extension
OpenSSL PHP Extension
PDO PHP Extension
Tokenizer PHP Extension
XML PHP Extension