PHP code example of fearless / laravel-scaffold
1. Go to this page and download the library: Download fearless/laravel-scaffold 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/ */
fearless / laravel-scaffold example snippets
$table->string('title')->comment('{"comment":"标题","enum":0,"filter":{"type":"like"},"request":{"rule":"启"},{"key":"close","value":0,"comment":"关闭"}],"filter":{"type":"where"},"request":{"rule":"
bash
php artisan create:model Article -m
bash
php artisan comment
bash
php artisan build