PHP code example of bizarg / crud-generator

1. Go to this page and download the library: Download bizarg/crud-generator 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/ */

    

bizarg / crud-generator example snippets


[
    'providers' => [
        Bizarg\Crud\CrudServiceProvider::class,
    ]
];



return [
    'paths' => [
        'stub' => base_path('resources/stubs'),
    ],
    'templates' => [
        [
            'path' => 'app/Http/Controllers/Api',
            'filename' => '{{modelName}}Controller',
            'stub' => 'Controller'
        ],
        ...
    ]
];