PHP code example of isayama3 / larave-project-generator

1. Go to this page and download the library: Download isayama3/larave-project-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/ */

    

isayama3 / larave-project-generator example snippets


    return [
        "name" => "admin",
        "request_type" => "api",
        "fields" => [
            [
                "name"=>"age",
                "type"=>"integer",
                "options"=>[
                    "nullable",
                ],
                "validation"=>[
                    "  "max:255",
                ]
            ],
            [
                "name"=>"password",
                "type"=>"string",
                "options"=>[
                    "nullable",
                ],
                "validation"=>[
                    "
bash
php artisan generator:modules