sfneal/crud-model-actions

Abstraction layers for creating CRUD Action classes to execute actions on Eloquent Models.
13,496
Install
composer require sfneal/crud-model-actions
Latest Version:0.17.1
PHP:^8.0
License:MIT
Last Updated:Jan 19, 2026
Links: GitHub  ·  Packagist
Maintainer: sfneal

CRUD Model Actions

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.

Related Packages

sfneal/redis-helpers

Redis helper functions for improved Redis cache transactions with PHP applicatio...

145,583 0
sfneal/caching

Traits & interfaces for utilizing cache mechanisms to store frequently retrieved...

117,701 1
sfneal/queueables

Abstraction layers for creating Jobs & Queueable's in Laravel applications

109,753 0
sfneal/models

Eloquent Model wrapper with extended functionality

98,220 1
sfneal/laravel-helpers

Helper functions for Laravel applications

146,004 1