einnar82/other-classes

Create your contracts, services and repositories via artisan console.

1.2 2019-11-21 06:36 UTC

This package is auto-updated.

Last update: 2024-04-21 19:59:38 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.