PHPackages                             frontier/action - 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. [Framework](/categories/framework)
4. /
5. frontier/action

ActiveLibrary[Framework](/categories/framework)

frontier/action
===============

Laravel Frontier Actions Package

v1.0.0(7mo ago)0551MITPHPPHP &gt;=8.2

Since Dec 13Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/0xKhdr/frontier-action)[ Packagist](https://packagist.org/packages/frontier/action)[ RSS](/packages/frontier-action/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (10)Versions (2)Used By (1)

Frontier Action
===============

[](#frontier-action)

 **Elegant, Reusable Action Classes for Laravel**

 [Installation](#installation) • [Quick Start](#quick-start) • [Eloquent Actions](#eloquent-actions) • [Commands](#commands) • [Testing](#testing)

 [![Latest Version](https://camo.githubusercontent.com/e9cc8a48fc0042636e65734ef27dd0422a043b61ac69dd0193f111c4c21f342b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66726f6e746965722f616374696f6e)](https://camo.githubusercontent.com/e9cc8a48fc0042636e65734ef27dd0422a043b61ac69dd0193f111c4c21f342b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66726f6e746965722f616374696f6e) [![PHP Version](https://camo.githubusercontent.com/d8cb12d4161bcf3d0abb89bdcd751b5c5812aff012d9323cd8cc56633e950041/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322b2d373737424234)](https://camo.githubusercontent.com/d8cb12d4161bcf3d0abb89bdcd751b5c5812aff012d9323cd8cc56633e950041/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322b2d373737424234) [![Laravel Version](https://camo.githubusercontent.com/90210155bac22241d8c3a81738835c4191716502b7c03d18c3b181eaf2b2b814/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31307c31317c31322d464632443230)](https://camo.githubusercontent.com/90210155bac22241d8c3a81738835c4191716502b7c03d18c3b181eaf2b2b814/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31307c31317c31322d464632443230)

---

Features
--------

[](#features)

- ✅ **Single Responsibility** — Encapsulate business logic into dedicated classes
- ✅ **Static Execution** — Clean `Action::exec($args)` syntax
- ✅ **Dependency Injection** — Fully supported in constructors
- ✅ **Eloquent Ready** — Pre-built CRUD actions for models
- ✅ **Module Support** — Works seamlessly with internachi/modular
- ✅ **Strict Types** — Built with modern PHP standards

---

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

[](#installation)

```
composer require frontier/action
```

---

Quick Start
-----------

[](#quick-start)

### 1. Generate an Action

[](#1-generate-an-action)

```
php artisan frontier:action CreateUser
```

### 2. Implement Logic

[](#2-implement-logic)

```
