user2228716
user2228716

Reputation: 115

Rename a Lumen project (5.5)

Hopefully this is quite an easy question, but I've struggled to find any answers elsewhere. All I would like to do is rename my Lumen project (v 5.5), how would I do this? I can't find anything in the documentation.

I've tried using the following command from old Laravel docs, with no success:

php artisan app:name

There doesn't seem to be anywhere to rename the project in the .env file like other answers online have suggested. I've also tried renaming the folder manually which just broke the whole API.

Thanks for your help in advance, and hopefully I've not just missed something obvious!

Upvotes: 0

Views: 685

Answers (1)

user8034901
user8034901

Reputation:

Lumen doesn't have an "app name" like Laravel does. All you need to do is rename the folder you installed your Lumen project in.

Make sure to stop your PHP server if it is running, change (cd) to your newly renamed folder and start it again using php -S localhost:8000 -t public.

Upvotes: 2

Related Questions