carloeusebi/php-artisan-make-action

A Package that adds the php artisan make:action command

v0.0.1 2025-06-01 10:52 UTC

This package is auto-updated.

Last update: 2025-06-01 18:13:17 UTC


README

Total Downloads Latest Version License

Php Artisan Make:action

A very small Laravel Package that adds the make:action Artisan Command.

Table of Contents

Requirements

  • PHP 8.* or higher
  • Laravel 12.* or higher

Installation

Run the following command to install the latest version fo the package:

composer require carloeusebi/php-artisan-make-action --dev

Usage

Run

php artisan make:action CreateUserAction

This will create the following Action inside app\Actions

<?php

namespace App\Actions

final class CreateUserAction
{
    public function __construct()
    {
        //
    }

    public function handle()
    {
        //
    }
}

License

The MIT License (MIT). Please see License File for more information.