Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lorisleiva/laravel-actions-docs

📚 Documentation for Laravel Actions
https://github.com/lorisleiva/laravel-actions-docs

Last synced: 2 months ago
JSON representation

📚 Documentation for Laravel Actions

Awesome Lists containing this project

README

        

---
metaTitle: 'Laravel Actions'
---

# Laravel Actions

âš¡ **Classes that take care of one specific task.**

This package introduces a new way of organising the logic of your Laravel applications by focusing on the actions your applications provide.

Instead of creating controllers, jobs, listeners and so on, it allows you to create a PHP class that handles a specific task and run that class as anything you want.

Therefore it encourages you to switch your focus from:

> "What controllers do I need?", "should I make a FormRequest for this?", "should this run asynchronously in a job instead?", etc.

to:

> "What does my application actually do?"

![Hero](/hero2.png)