Laravel Actions

screenshot of Laravel Actions

Laravel components that take care of one specific task

Overview

Laravel Actions is a package that introduces a new way of organizing the logic of Laravel applications by focusing on the actions your applications provide. Instead of creating multiple components like controllers, jobs, and listeners separately, Laravel Actions allows you to create PHP classes that handle specific tasks and run them in various contexts. By shifting the focus to "What does my application actually do?", Laravel Actions simplifies the development process.

Features

  • Specific Task Handling: Classes handle specific tasks.
  • Organized Logic: Focuses on actions provided by the application.
  • Versatile Execution: Runs classes as controllers, jobs, listeners, and more.
  • Object Execution: Actions can be run as objects.
  • Controller Integration: Actions can be registered as invokable controllers.
  • Listener Support: Actions can be registered as event listeners.
  • Job Execution: Supports running actions as jobs.
  • Command Execution: Allows running actions as commands.