PHP code example of larashuo / laracrud

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

    

larashuo / laracrud example snippets


//安装
composer php $providers中添加
//LaraShuo\LaraCrud\LaraCrudServiceProvider::class,
//支持laravel5.5的安装,已经不需要在手工添加$providers数组

// publish
php artisan vendor:publish 

//生成数据表
php artisan migrate

//修改下config/filesystems.php

        'local' => [
            'driver' => 'local',
            'root' => public_path('/'),
        ],