yudhi/apigen

Simple API generator for Laravel

Maintainers

Package info

github.com/yudhioktaviangulebaru/laravel-api-generator

pkg:composer/yudhi/apigen

Statistics

Installs: 15

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2024-09-10 13:57 UTC

This package is auto-updated.

Last update: 2026-02-24 12:38:04 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>