cauegonzalez/gzlayers

This package creates a layer structure to organize your laravel projects

Maintainers

Package info

github.com/cauegonzalez/gzlayers

pkg:composer/cauegonzalez/gzlayers

Statistics

Installs: 1 858

Dependents: 0

Suggesters: 0

Stars: 11

Open Issues: 0

v2.0.2 2023-09-17 19:26 UTC

This package is auto-updated.

Last update: 2026-03-18 01:30:48 UTC


README

This package creates a layer structure to organize your laravel projects

More explanatory material available at:

How to Install

From the root of a laravel project, type the composer command:

composer require cauegonzalez/gzlayers

Once installed, the following artisan commands will be available:

gzlayers:makebo
gzlayers:makecontroller
gzlayers:makecrud
gzlayers:makemodel
gzlayers:makerepository
gzlayers:makerequest
gzlayers:makeresource
gzlayers:maketrait

You can call each one separately or choose the command that does the entire structure at once:

php artisan gzlayers:makecrud --all

The makecrud command with --all option will read the configured database (.env) and create all the files of the proposed structure for each table found