Skip to content

This is a simple artisan command package for creation scaffolding the service repository pattern.

License

Notifications You must be signed in to change notification settings

morshadunnur/repository-pattern

Repository files navigation

RepositoryPattern

Latest Version on Packagist Total Downloads Build Status StyleCI

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require morshadun/repositorypattern

Usage

Via PHP Artisan

$ php artisan morshadun:controller <Controller Name>

This command will create files into app directory with related folders.

For Controller

  • App\Http\Controllers

For Repositories

  • App\Repositories

For Services

  • App\Services

For Transformers

  • App\Transformers

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ vendor/bin/phpunit --filter new_controller_is_created

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

License

license. Please see the license file for more information.

About

This is a simple artisan command package for creation scaffolding the service repository pattern.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages