Package Data | |
---|---|
Maintainer Username: | meyubaraj |
Maintainer Contact: | companion.krish@outlook.com (Yubaraj Shrestha) |
Package Create Date: | 2016-12-16 |
Package Last Update: | 2020-01-04 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-19 03:11:34 |
Package Statistics | |
---|---|
Total Downloads: | 40 |
Monthly Downloads: | 2 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 3 |
Total Forks: | 1 |
Total Open Issues: | 0 |
If you are sick trying to findout the controllers, routes and views from too many project files in laravel then yes, this package is for you.
This helps you to organize your Laravel Project codes by modularizing all your controllers, views and models. This will be very helpful when your laravel project is very big.
Add the package in your composer.json by executing the command.
composer require yubarajshrestha/ym
Add the service provider to config/app.php
YubarajShrestha\YM\YMServiceProvider::class,
YubarajShrestha\YM\YMModuleProvider::class,
Add following line after "App\": "app/" in composer.json
"YModules\": "YModules/"
Example:
"psr-4": {
"App\\": "app/",
"YModules\\": "YModules/"
}
You need to have some files and don't worry it's quite easy. You just want to execute the command now.
php artisan vendor:publish
Final step is to migrate some files. Execute migration command.
php artisan migrate
/ym
. Eg. http://localhost:8000/ym