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
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-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.