Change Default Namespace For a Laravel Application

When you create a new Laravel Application using Composer Dependency Manager, by default it comes with a top level namespace called App. But, you can easily rename this by using a simple Artisan command.

php artisan app:name Coffeecupweb

The above command will replace all the instances of App namespace with Coffeecupweb. 

Useful Read : How to use Soft Delete in Laravel 5


Leave a Comment.