PHP code example of envatic / crud-strap

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

    

envatic / crud-strap example snippets


 [
    "name" => 'admin',
    "view-path" => 'admin',
    'folder' => "crud/admin",
    'force' => true,
    'model-namespace' => 'Models',
    'only' => 'policy,controller,model,migration,route,factory,resource,enums',
],

    php artisan crud:strap admin

php artisan vendor:publish