lorisleiva/laravel-actions
⚡️ Laravel components that take care of one specific task observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 46
- age_days: 2716
- days_rel: 8
- days_push: 8
- n_releases_24m: 10
Adoption not part of the score
2867 stars · 142 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Laravel package that lets developers encapsulate a single task in one PHP class and run it as a controller, job, event listener, command, or plain object. It reorganizes application logic around actions rather than framework-specific components like controllers and FormRequests.
Use cases
- run the same business logic as a controller, job, and command
- organize laravel app logic into single-task classes
- dispatch laravel actions as asynchronous jobs
- register a class as an invokable controller route
- listen to laravel events with an action class
- mock and test laravel actions
- add validation to action controllers
When to choose
- you build Laravel apps and want action-oriented architecture
- you need one class reusable across HTTP, queues, events, and CLI
- you want to reduce boilerplate controllers, FormRequests, and jobs
When to avoid
- you don't use Laravel or PHP
- you prefer conventional MVC separation of controllers and services
- your team relies on framework-specific patterns already
Facets
library · maturity stable
web-framework middleware routing cli testing web-development backend developer-tools php cli laravel actions single-task-classes controllers jobs event-listeners artisan-commands php automation web-server
3 sources
- readme: https://github.com/lorisleiva/laravel-actions · fetched 2026-08-28 · c6deaa493677
- homepage: https://laravelactions.com · fetched 2026-08-29 · 537ec9bfdfef
- site_page: https://www.laravelactions.com/2.x/installation.html · fetched 2026-08-29 · 31f8c09f5a8b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lorisleiva/laravel-actions | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="lorisleiva/laravel-actions")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem