savvyosive / handler-generator
Create Handlers for your Laravel Models
Fund package maintenance!
SavvyOsive
Requires
- php: ^8.0
- illuminate/contracts: ^8.37
- spatie/laravel-package-tools: ^1.4.3
Requires (Dev)
- brianium/paratest: ^6.2
- nunomaduro/collision: ^5.3
- orchestra/testbench: ^6.15
- phpunit/phpunit: ^9.3
- spatie/laravel-ray: ^1.23
- vimeo/psalm: ^4.8
README
A package for automatically creating handlers for your laravel model
Installation
You can install the package via composer:
composer require savvyosive/handler-generator
You can publish and run the migrations with:
php artisan vendor:publish --provider="Savvyosive\HandlerGenerator\HandlerGeneratorServiceProvider" --tag="handler-generator-migrations" php artisan migrate
You can publish the config file with:
php artisan vendor:publish --provider="Savvyosive\HandlerGenerator\HandlerGeneratorServiceProvider" --tag="handler-generator-config"
This is the contents of the published config file:
return [
];
Usage
$handler-generator = new Savvyosive\HandlerGenerator(); echo $handler-generator->echoPhrase('Hello, Spatie!');
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.