PHPackages                             sfneal/crud-model-actions - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. sfneal/crud-model-actions

ActiveLibrary[Database &amp; ORM](/categories/database)

sfneal/crud-model-actions
=========================

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

0.17.1(2y ago)013.5k[3 PRs](https://github.com/sfneal/crud-model-actions/pulls)MITPHPPHP ^8.0CI passing

Since Aug 20Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/sfneal/crud-model-actions)[ Packagist](https://packagist.org/packages/sfneal/crud-model-actions)[ Docs](https://github.com/sfneal/crud-model-actions)[ RSS](/packages/sfneal-crud-model-actions/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (10)Versions (34)Used By (0)

CRUD Model Actions
==================

[](#crud-model-actions)

[![Packagist PHP support](https://camo.githubusercontent.com/9800f2d85c1b9dc69004ede03359cbc7848da7a43bdb32c6aef70421d97d6492/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f73666e65616c2f637275642d6d6f64656c2d616374696f6e73)](https://packagist.org/packages/sfneal/crud-model-actions)[![Latest Version on Packagist](https://camo.githubusercontent.com/7d4bf743ae2da914af95502102c7124e028670c60ca0c5a9409ba5f697ec413f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73666e65616c2f637275642d6d6f64656c2d616374696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sfneal/crud-model-actions)[![Build Status](https://camo.githubusercontent.com/63f8cd647611d999963ad606557c48aee2699d434c289d9b373388f050db6e2c/68747470733a2f2f7472617669732d63692e636f6d2f73666e65616c2f637275642d6d6f64656c2d616374696f6e732e7376673f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://travis-ci.com/sfneal/crud-model-actions)[![Quality Score](https://camo.githubusercontent.com/b8b9d0ae18f52084821d907ae2d2c14fa65fd6aa8bfd8bab3bc0263f737d73e5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f73666e65616c2f637275642d6d6f64656c2d616374696f6e732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/sfneal/crud-model-actions)[![Total Downloads](https://camo.githubusercontent.com/2219e9155997414828ce1ef8e15c550736c541a2a2eb3081bf35bd30b0516d1f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73666e65616c2f637275642d6d6f64656c2d616374696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sfneal/crud-model-actions)

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

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require sfneal/crud-model-actions
```

Usage
-----

[](#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 &amp; specify an Event.

```
php artisan vendor:publish --provider="Sfneal\CrudModelActions\Providers\CrudModelActionServiceProvider"
```

```
// Usage description here
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Stephen Neal](https://github.com/sfneal)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

PHP Package Boilerplate
-----------------------

[](#php-package-boilerplate)

This package was generated using the [PHP Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance53

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 97.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~48 days

Recently: every ~262 days

Total

29

Last Release

736d ago

PHP version history (6 changes)0.1.0PHP ^7.1

0.2.1PHP ^7.2

0.3.0PHP ^7.0

0.4.0PHP &gt;=7.0

0.7.0PHP &gt;=7.3

0.17.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ec5fdf3b9d2183ae9c777e4aed46fd5cfd9aa4789cd05c669e5907de0b8c865c?d=identicon)[sfneal](/maintainers/sfneal)

---

Top Contributors

[![sfneal](https://avatars.githubusercontent.com/u/23200215?v=4)](https://github.com/sfneal "sfneal (153 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")

---

Tags

sfnealcrud-model-actions

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sfneal-crud-model-actions/health.svg)

```
[![Health](https://phpackages.com/badges/sfneal-crud-model-actions/health.svg)](https://phpackages.com/packages/sfneal-crud-model-actions)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[overtrue/laravel-versionable

Make Laravel model versionable.

585308.0k5](/packages/overtrue-laravel-versionable)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)[dragon-code/laravel-deploy-operations

Performing any actions during the deployment process

240173.5k2](/packages/dragon-code-laravel-deploy-operations)[stayallive/laravel-eloquent-observable

Register Eloquent model event listeners just-in-time directly from the model.

2928.9k7](/packages/stayallive-laravel-eloquent-observable)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
