PHP code example of zhu / yoursave

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

    

zhu / yoursave example snippets


trans('views.page_name.category_name.info_name');  // 界面控键名文件
trans('messages.page_name.category_name.info_name');  // 界面信息提示文件
trans('database.table_name.table_cell_name.value');  // 数据库信息文件
 
sh
composer install
// 如果出错了,打开文件wording_dir/config/app.php,
// 注释掉‘Maatwebsite\Excel\ExcelServiceProvider::class’和‘'Excel'     => Maatwebsite\Excel\Facades\Excel::class,’
// 打开wording_dir/config/excel.php
// 注释掉‘'autosize-method'             => PHPExcel_Shared_Font::AUTOSIZE_METHOD_APPROX,’
// 然后再次执行'composer install'
// 成功后去掉之前添加的注释
 
sh
php artisan key:generate
 
sh
php artisan migrate
// 数据表生成

php artisan db:seed
// 测试数据添加