lara-plus / app-name
Add the app:name command back to Laravel
Installs: 71
Dependents: 0
Suggesters: 0
Security: 0
Stars: 18
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/lara-plus/app-name
Requires
- illuminate/console: 6.*
- illuminate/support: 6.*
This package is auto-updated.
Last update: 2021-04-06 12:14:39 UTC
README
- Laravel: 6.*
- Author: Ollie Read
- Author Homepage: https://ollieread.com
This package is super simple, it adds the app:name
command back to
laravel 6.0. This package should be installed as a dev
requirement.
What?
The app:name
command replaces the default App
namespace that Laravel
ships with. It widely used by developers that like to give each project
its own namespace.
Why was it removed?
Honestly, I don't know. Taylor has publicly said that he doesn't think people should be changing the namespace so I assume it's off the back of that.
Why not just do a find and replace?
Sure, if you're confident that'll get everything and not mess anything up, do so.
Installation
Super simple:
composer require lara-plus/app-name --dev
Using
To use this simply run the following command:
php artisan app:name MyNewNamespace