What is the best solution, if I want to rename my laravel 5.1 project, I just tried to rename it, but it did not work properly, got some errors.
Are there any steps you need to take to rename a laravel project?
You should use the php artisan app:name command to rename the application. It will change the namespace in all project files for you. This is the only right way to rename your application.
php artisan app:name
https://laravel.com/docs/5.0/configuration#after-installation
From laravel version 5.3 ^ there is a function to call the application name
config('app.name');
You can change the default name "Laravel" inside this file
config/app.php 'name' => 'Laravel',
I just recommend:
And you're done.