Looking to hire Laravel developers? Try LaraJobs

laravel-repo maintained by zignout

Description
Laravel Repository Pattern
Author
Last update
2020/07/10 10:00 (dev-master)
License
Links
Downloads
14

Comments
comments powered by Disqus

Installatin Guide

run this command in the terminal of your. project root composer require zignout/laravel-repo

composer.json

place the following line in composer.json.

"autoload": {
    "psr-4": {
        "App\\": "app/",
        "\\Zignout\\laravelRepo": "vendor/zignout/laravel-repo/src" //Add this line**
    },
    "classmap": [
        "database/seeds",
        "database/factories"
    ]
},

config/app.php

add the following line in config\app.php.

    /*
     * Package Service Providers...
     */
    Zignout\LaravelRepo\RepositoryProvider::class,
]

Run this command

php artisan vendor:publish

and choose the package name.