Skip to content

sexym0nk3y/Laravel-5.3-Repository

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Laravel 5.3 Repositories

Simple repository setup for Laravel 5.3

Installation

  1. Copy BaseRepository.php into App/Repositories
  2. Copy repository.stub into App/Console/Commands/stubs
  3. Copy MakeRepositoryCommand.php into App/Console/Commands
  4. Add MakeRepositoryCommand:class into the App/Console/Kernel.php
class Kernel extends ConsoleKernel
{
    /**
     * The Artisan commands provided by your application.
     *
     * @var array
     */
    protected $commands = [
        Commands\MakeRepositoryCommand::class,
    ];

Usage

The make:repository command automatically creates a new Repository into App\Repositories

php artisan make:repository NameRepo

About

Simple repository setup for Laravel 5.3

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages