einnar82 / other-classes
Create your contracts, services and repositories via artisan console.
1.2
2019-11-21 06:36 UTC
Requires
- illuminate/support: ^5.0|^6.0
Requires (Dev)
- mockery/mockery: ^1.1
- orchestra/testbench: ~3.0
- phpunit/phpunit: ~7.0
- sempro/phpunit-pretty-print: ^1.0
This package is auto-updated.
Last update: 2025-02-21 21:50:43 UTC
README
Create your contracts, services and repositories via artisan console.
Installation:
Run on your terminal
$ composer require einnar82/other-classes
Then register the service provider at config/app.php.
RannieOllit\OtherClasses\OtherClassesServiceProvider::class,
Finally publish the vendor files, so that you can customized the namespace of your classes at config/other-classes.php.
$ php artisan vendor:publish --provider="RannieOllit\OtherClasses\OtherClassesServiceProvider" --tag="config"
Then you added the four artisan commands.
Command | Namespace |
---|---|
make:trait | App\YourTraits |
make:contract | App\MyContracts |
make:service | App\OtherServices |
make:repository | App\SomeRepositories |
This will generate a fresh file from your distinct commands.