manowartop/laravel-skeleton is a Laravel package for base skeleton for laravel application.
It currently has 0 GitHub stars and 265 downloads on Packagist (latest version v1.4.1).
Install it with composer require manowartop/laravel-skeleton.
Discover more Laravel packages by manowartop
or browse all Laravel packages to compare alternatives.
Last updated
The package is based on the Repository-Service Laravel Pattern Package:
Package link: https://github.com/manowartop97/repository-service-laravel-pattern
$template = new ClassTemplate();
$template->setType('class')->setName('ClassName')->setNamespace('Path\\To\\Class');
It is possible define properties, methods, constants, extends, implements, doc block comments, create abstract/final classes, set method body, etc...
Command php artisan skeleton:model:generate tableName - generates the model for the table, define all relations,
properties, define doc block with props annotations.
Command php artisan skeleton:repository-service:generate {table} generates EntityRepositoryInterface &
EntityRepository and ServiceInterface & Service for Repository-Service Laravel Pattern Package.
Command skeleton:request:generate {namespace} {modelNamespace?} will generate a Request instance,
{namespace} will specify the folder of the new request (e.g. User\\StoreRequest will create
a App\\Http\\Requests\\User\\StoreReqeust);{modelNamespace?} - is optional param. e.g. App\\Models\\ModelName will generate request with rules for
model fillable attributes;Command skeleton:resource:generate {table} generates resource for a particular Model by table name
Command skeleton:resource-controller:generate {table} will generate a resource controller for a particular Model
entity by table name;
The controller actions will be based on the Repository-Service laravel pattern package;
Command skeleton:crud:generate {table} will generate the following instances: