sfneal/crud-model-actions

Abstraction layers for creating CRUD Action classes to execute actions on Eloquent Models.

0.17.1 2024-05-06 16:26 UTC

README

Packagist PHP support Latest Version on Packagist Build Status Quality Score Total Downloads

Abstraction layers for creating CRUD Action classes to execute actions on Eloquent Models.

Installation

You can install the package via composer:

composer require sfneal/crud-model-actions

Usage

Use Action classes extended from CrudModelAction to execute CRUD actions on Eloquent Models.

In order to set a default TrackingEvent to be fired upon successful execution, publish the ServiceProvider & specify an Event.

php artisan vendor:publish --provider="Sfneal\CrudModelActions\Providers\CrudModelActionServiceProvider"
// Usage description here

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email stephen.neal14@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

PHP Package Boilerplate

This package was generated using the PHP Package Boilerplate.