darovi/commander

A series of commands usable in the Laravel Framework to generate providers, services, etc.

1.0 2019-12-01 02:27 UTC

This package is auto-updated.

Last update: 2024-11-29 06:01:05 UTC


README

Latest Stable Version Total Downloads License StyleCI

Getting Started

To get started you need to install the package with Composer:

composer require darovi/commander

Laravel >= 5.5

That's it! The package is auto-discovered on 5.5 and up!

Laravel <= 5.4

Add the package service provider to your providers array in config/app.php

'providers' => [
    // ...
    Darovi\Commander\CommanderServiceProvider::class,
],

Create a new Repository class

To create a new repository class use the command

php artisan make:repository CLASSNAME

Replace CLASSNAME with the name you want to provide your repository class.

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.