morshadun/repositorypattern

Laravel Service Repository Design Pattern Scaffolding.

v1.0.2 2020-11-18 06:17 UTC

This package is auto-updated.

Last update: 2025-03-18 15:49:12 UTC


README

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.