package that contains a command to generate base repositories and services for model
This package is not auto-updated.
Last update: 2023-03-10 16:02:20 UTC
You can use this package create your repositories and services easily and you can customize them .
1- You can install the package via composer:
composer require sonmez/laravel-rsc
2- After Successfull installation please run the following command :
php artisan laravel-rsc:publish
You will notice that there are two folder are created inside your app folder "Repositories" and "Services" along with two services providers to solve depenedency injection inside Providers Folder
3- Register ServiceLayerServiceProvider in
providers section your
You can create a repository and service for your model by typing the following command: for example let us suppose that we want to do that for Admin Model that exists inside
php artisan create:repo Admin
if you have any issue please post it in issuess section in this repo
If you discover any security related issues, please email lamasonmez@gmail instead of using the issue tracker.