alejojperez / laravel-skeleton-generator by alejojperez

A package containing a set of commands to generate any kind of component
21
1
1
Package Data
Maintainer Username: alejojperez
Maintainer Contact: alejandro.perez.developer@gmail.com (Alejandro Perez)
Package Create Date: 2016-05-07
Package Last Update: 2018-04-23
Language: PHP
License: APACHE LICENSE - VERSION 2.0
Last Refreshed: 2024-11-21 03:00:27
Package Statistics
Total Downloads: 21
Monthly Downloads: 2
Daily Downloads: 0
Total Stars: 1
Total Watchers: 1
Total Forks: 1
Total Open Issues: 0

laravel-skeleton-generator

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,
];
...