savvyosive/handler-generator

Create Handlers for your Laravel Models


Keywords
laravel, SavvyOsive, handler-generator
License
MIT

Documentation

Create Handlers for your Laravel Models

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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.