PHP code example of explore-pu / lumen-tool

1. Go to this page and download the library: Download explore-pu/lumen-tool 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/ */

    

explore-pu / lumen-tool example snippets


$app->register(LumenTool\LumenToolServiceProvider::class);

$app->configure('tool');
shell
php artisan publish:tool
shell
# 生成form-request
php artisan make:request {className}
# 生成密钥
php artisan key:generate
# 创建存储软连接
php artisan storage:link