alejojperez/laravel-skeleton-generator

There is no license information available for the latest version (1.0.0) of this package.

A package containing a set of commands to generate any kind of component

1.0.0 2016-08-11 00:04 UTC

This package is not auto-updated.

Last update: 2024-11-09 20:28:09 UTC


README

A package containing a set of commands to generate any kind of component

Include the service provider

// config/app.php

return [

    "providers" => [
        ...
        AlejoJPerez\LaravelSkeletonGenerator\LaravelSkeletonGeneratorServiceProvider::class,
        ...
    ]

];

Publish the package configuration (optional)

php artisan vendor:publish --provider="AlejoJPerez\LaravelSkeletonGenerator\LaravelSkeletonGeneratorServiceProvider" --tag="config"

Include all the commands to the console

// app/Console/Kernel.php

...
protected $commands = [
    \AlejoJPerez\LaravelSkeletonGenerator\Commands\Generate\GenerateSkeletonCommand::class,
    \AlejoJPerez\LaravelSkeletonGenerator\Commands\Generate\GenerateEntityCommand::class,
    \AlejoJPerez\LaravelSkeletonGenerator\Commands\Generate\GenerateJobCommand::class,
    \AlejoJPerez\LaravelSkeletonGenerator\Commands\Generate\GenerateJobValidatorCommand::class,
    \AlejoJPerez\LaravelSkeletonGenerator\Commands\Generate\GenerateRepositoryCommand::class,
    \AlejoJPerez\LaravelSkeletonGenerator\Commands\Generate\GenerateRepositoryContractCommand::class,
    \AlejoJPerez\LaravelSkeletonGenerator\Commands\Generate\GenerateRepositoryServiceProviderCommand::class,
    \AlejoJPerez\LaravelSkeletonGenerator\Commands\Generate\GenerateTransformerCommand::class,
];
...