cuongpm / modularization
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
v3.16
2020-04-23 08:16 UTC
Requires
- cuongpm/uploader: *
- intervention/image: ^2.3
- predis/predis: ^1.1
- prettus/l5-repository: *
This package is auto-updated.
Last update: 2024-03-23 16:48:40 UTC
README
This package makes it easy to build project
Postcardware
You're free to use this package (it's MIT-licensed), but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.
- Author: Fight Light Diamond i.am.m.cuong@gmail.com
- MIT: 2e566161fd6039c38070de2ac4e4eadd8024a825
Requires
- Laravel 5.x
Install
You can install the package via composer:
composer require cuongpm/modularization
Usage
The service provider will automatically get registered. Or you may manually add the service provider in your config/app.php file:
'providers' => [
// ...
Cuongpm\Modularization\Cuongpm\ModularizationServiceProvider::class,
];
You can publish the migration with:
php artisan vendor:publish
Build base project:
- User interface
{domain}/module/create
- Use command line
php artisan module:project {table?} {--namespace=App} {--path=app} {--seed=no}'
Run unit test
./vendor/bin/phpunit {pathFolderModule}
./vendor/bin/phpunit --filter {function} {pathFolderModule}