zignout / laravel-repo
Laravel Repository Pattern
dev-master
2020-07-10 08:00 UTC
This package is not auto-updated.
Last update: 2024-09-28 19:31:21 UTC
README
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.
'providers' => [
/*
* Package Service Providers...
*/
Zignout\LaravelRepo\RepositoryProvider::class,
]
Run this command
php artisan vendor:publish
and choose the package name.