imanimen/speed-routes

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

Installs: 36

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 1

Forks: 2

Open Issues: 5

pkg:composer/imanimen/speed-routes

1.0.1 2024-07-22 20:20 UTC

This package is auto-updated.

Last update: 2026-01-06 08:48:32 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