PHP code example of gustavorf / repo-create

1. Go to this page and download the library: Download gustavorf/repo-create 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/ */

    

gustavorf / repo-create example snippets


  'providers' => [
  
    ...
  
    GustavoRF\RepoCreate\RepoCreateServiceProvider::class,
  
  ],
bash
php artisan repository:create MyRepository
bash
php artisan repository:create MyRepository --model=MyModel
bash
php artisan service:create MyService
bash
php artisan service:create MyService --model=MyModel