Skip to content

Davvers84/generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Skeleton Generator

Used to create a simple structure for your component.

Usage: php artisan make:all {name : The common class name to be used in each part of the structure}

Example: php artisan make:all House

This will create the following laravel classes:

  • config/app.php (adds Service Provider)
  • app/Http/Controllers/HouseController.php
  • app/Models/House.php
  • app/Repositories/House/HouseRepository.php
  • app/Repositories/House/HouseRepositoryInterface.php
  • app/Services/HouseService.php
  • routes/api.php (create if not exists, otherwise appends)
  • routes/web.php (create if not exists, otherwise appends)

Installation

Make sure you add the following to app/config.php

    /*
     * Package Service Providers...
     */
    Skeleton\Generator\Providers\GeneratorServiceProvider::class,

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages