imanimen/speed-routes

This package helps you to boost your coding speed by just creating one file for your Logic, Method, Validations and Middlewares.

1.0.1 2024-07-22 20:20 UTC

This package is auto-updated.

Last update: 2025-07-06 07:52:58 UTC


README

Add your Logic, Validations, Method and Middlewares in one class 😎

Install

composer require imanimen/speed-routes

Usage

  • php artisan make:action Hello
    • to set the method in cli --method=<METHOD>
    • to use in specific Module --module=<MODULE>
  • open the file app/Actions/HelloAction.php if --module open it in <MODULE>/app/Actions/HelloAction.php
  • php artisan serve
  • open url -> http://localhost:8000/Hello