einnar82/other-classes

Create your contracts, services and repositories via artisan console.

Installs: 291

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/einnar82/other-classes

1.2 2019-11-21 06:36 UTC

This package is auto-updated.

Last update: 2025-10-21 23:17:00 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.