PHPackages                             robinwieske/laravel-action-command - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. robinwieske/laravel-action-command

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

robinwieske/laravel-action-command
==================================

This package provides a simple `make:action` command to generate invokable action classes

v0.0.3(1y ago)05.1k↓25%[1 issues](https://github.com/RobinWieske/laravel-action-command/issues)MITPHPPHP ^8.2||^8.3||^8.4CI passing

Since Feb 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/RobinWieske/laravel-action-command)[ Packagist](https://packagist.org/packages/robinwieske/laravel-action-command)[ Docs](https://github.com/robinwieske/laravel-action-command)[ GitHub Sponsors]()[ RSS](/packages/robinwieske-laravel-action-command/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (13)Versions (4)Used By (0)

This package provides a simple `action:make` command to generate invokable action classes
=========================================================================================

[](#this-package-provides-a-simple-actionmake-command-to-generate-invokable-action-classes)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e65f333067ca2885541e07ee2a5ae2beabaa7cc08c2cb4b9e88651198bfd24af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f62696e776965736b652f6c61726176656c2d616374696f6e2d636f6d6d616e642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/robinwieske/laravel-action-command)[![GitHub Tests Action Status](https://camo.githubusercontent.com/201dab64defbd936233306e04d76a893473453ed2c76c91e016fcd13c4c32898/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f726f62696e776965736b652f6c61726176656c2d616374696f6e2d636f6d6d616e642f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/robinwieske/laravel-action-command/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/2e126f6030bd69d85157e268d53205e36e665d05d34190f3982e636f4830eb91/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f726f62696e776965736b652f6c61726176656c2d616374696f6e2d636f6d6d616e642f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/robinwieske/laravel-action-command/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/d6749031787b434e09c1ad78363a996b8193405563e681e349872c4f2f511ae8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f62696e776965736b652f6c61726176656c2d616374696f6e2d636f6d6d616e642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/robinwieske/laravel-action-command)

This package allows you to easily create `Action` classes in your laravel project. You can either just use the `php artisan make:model` command and pass the `--actions` flag to create `Create{Model}Action`, `Update{Model}Action` and `Delete{Model}Action` actions or you can directly use `php artisan make:action`.

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

[](#installation)

You can install the package via composer:

```
composer require robinwieske/laravel-action-command
```

Usage
-----

[](#usage)

Create an action class directly:

```
php artisan action:make User/CreateUserAction
```

Or pass the `--actions` flag to your `php artisan make:model` command:

```
php artisan make:model Post -mcf --actions
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

Credits
-------

[](#credits)

- [Robin Wieske](https://github.com/RobinWieske)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance46

Moderate activity, may be stable

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~2 days

Total

3

Last Release

448d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ca9a673d2046567148023d4f8f02c811b9377bd98cb4215b5ec3b7a6a9cd48e?d=identicon)[RobinWieske](/maintainers/RobinWieske)

---

Top Contributors

[![RobinWieske](https://avatars.githubusercontent.com/u/27992955?v=4)](https://github.com/RobinWieske "RobinWieske (11 commits)")

---

Tags

laravelRobin Wieskelaravel-action-command

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/robinwieske-laravel-action-command/health.svg)

```
[![Health](https://phpackages.com/badges/robinwieske-laravel-action-command/health.svg)](https://phpackages.com/packages/robinwieske-laravel-action-command)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.8k28.9M627](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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