samjbro/srp-generator

A generator for the Service Repository Pattern

dev-master / 1.0.x-dev 2017-08-30 09:58 UTC

This package is not auto-updated.

Last update: 2025-06-22 04:59:18 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Installation and Usage

Step 1: Install through composer

composer require samjbro/srp-generator @dev

###Step 2: Add the Service Provider in app/Providers/AppServiceProvider.php

public function register()
{
    if ($this->app->environment() == 'local') {
    $this->app->register('samjbro\SRPGenerator\SRPGeneratorServiceProvider');
    }
}
php artisan make:srp ModelName

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

(upcoming)

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email sjbroughton1@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.