Looking to hire Laravel developers? Try LaraJobs

laravel-structure-generator maintained by trasel

Description
Package to generate Services and Repositories or complete Repositories/Services/Controllers structure in Laravel
Last update
2025/04/03 02:23 (dev-main)
License
Links
Downloads
228

Comments
comments powered by Disqus

Laravel-Structure-Generator

Requirements

  • php: ^8.1
  • Laravel: ^9.0

Install

composer require trasel/laravel-structure-generator

Ways of use

Command Descrição
php artisan make:service ServiceName It will generate the directory and file with the service
php artisan make:repository RepositoryName It will generate the directory and file with the Repository
php artisan make:structure StructureName Generate directories, files and auto imports with Controller/Service/Repository

Usage example

commands

Arquivos gerados