I have installed laravel 5.2 with the folder name "MyProject" and i have created controllers, views and models completely.
Now i access this project on localhost as say
http://localhost/MyProject/admin
http://localhost/Apisetproj/admin
Use
php artisan app:name
After installing Laravel, you may wish to "name" your application. By default, the app directory is namespaced under App, and autoloaded by Composer using the PSR-4 autoloading standard. However, you may change the namespace to match the name of your application, which you can easily do via the app:name Artisan command.
For example, if your application is named "Horsefly", you could run the following command from the root of your installation:
php artisan app:name Horsefly
Renaming your application is entirely optional, and you are free to keep the App namespace if you wish