PHP code example of thanhnamcnv / laravel-make-repository-service
1. Go to this page and download the library: Download thanhnamcnv/laravel-make-repository-service library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
thanhnamcnv / laravel-make-repository-service example snippets
'providers' => [
...
NamTran\LaravelMakeRepositoryService\RepositoryServiceProvider::class,
],
bash
php artisan vendor:publish --provider "NamTran\LaravelMakeRepositoryService\RepositoryServiceProvider"
php artisan make:repository User
php artisan make:service User
php artisan make:repository Backend\User
php artisan make:service Backend\User