yudhi/apigen

Simple API generator for Laravel

1.0.0 2024-09-10 13:57 UTC

This package is auto-updated.

Last update: 2025-07-24 11:19:13 UTC


README

a simple artisan command to generate all things you need

Requirement

  • Laravel 11+

Install

composer require yudhi/apigen

Configuration

  • Open config/apigen.php file
  • Change value "abstractControllerName" => Controller::class to "abstractControllerName" => "App\\Http\\Controllers\\Controller"

Artisan Command Table

Command Description
php artisan apigen:make <module_name> Generate all things you need for API

Generated File

You can check your generate file on <root>/App/Core/<your_module_name>