上一页 1 ··· 87 88 89 90 91 92 93 94 95 ··· 169 下一页
摘要: 一,php代码: 1,app\providers\AppServiceProvider.php 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 <?php namesp 阅读全文
posted @ 2023-10-31 08:20 刘宏缔的架构森林 阅读(33) 评论(0) 推荐(0)
摘要: 一,第三方库: 官方代码库: https://github.com/Gregwar/Captcha 二,安装第三方库 1,用composer安装 liuhongdi@lhdpc:/data/laravel/dignews$ composer require gregwar/captcha 2,安装完 阅读全文
posted @ 2023-10-31 08:16 刘宏缔的架构森林 阅读(723) 评论(0) 推荐(0)
摘要: 一,相关文档 https://learnku.com/docs/laravel/10.x/filesystem/14865#481e03 二,前端vue代码 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 阅读全文
posted @ 2023-10-30 09:00 刘宏缔的架构森林 阅读(55) 评论(0) 推荐(0)
摘要: 一,相关文档 https://learnku.com/docs/laravel/10.x/filesystem/14865#481e03 二,前端vue代码 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 阅读全文
posted @ 2023-10-30 08:40 刘宏缔的架构森林 阅读(21) 评论(0) 推荐(0)
摘要: 一,相关文档 https://learnku.com/docs/laravel/10.x/testing/14895 二,php代码 1,查看laravel自带的phpunit的版本 liuhongdi@lhdpc:/data/laravel/dignews$ ./vendor/bin/phpuni 阅读全文
posted @ 2023-10-30 08:35 刘宏缔的架构森林 阅读(57) 评论(0) 推荐(0)
摘要: 一,phpexcel官方代码站: https://github.com/PHPOffice/PHPExcel 说明:项目在2019年已经被设置为archived新用户可以使用它的代替项目PhpSpreadsheet来实现我是因为旧代码中使用了这个库才应用它来工作 二,演示代码: 1 2 3 4 5 阅读全文
posted @ 2023-10-30 07:51 刘宏缔的架构森林 阅读(246) 评论(0) 推荐(0)
摘要: 一,相关文档: https://learnku.com/docs/laravel/10.x/configuration/14836#972c4c 二,用artisan工具实现上线下线 1,下线,进入维护模式 [root@img dignews]# /usr/local/soft/php8.2.5/b 阅读全文
posted @ 2023-10-29 10:34 刘宏缔的架构森林 阅读(125) 评论(0) 推荐(0)
摘要: 一,APP_KEY的作用: 1,用途: 它作为网站的密钥使用,用来保护网站的安全主要用于加密cookie 2,生成APP_KEY: 生成前: APP_KEY= 生成命令: [root@img dignews]# /usr/local/soft/php8.2.5/bin/php artisan key 阅读全文
posted @ 2023-10-29 10:31 刘宏缔的架构森林 阅读(512) 评论(0) 推荐(0)
摘要: 一,相关文档 https://learnku.com/docs/laravel/10.x/blade/14852#918cb6 二,模板: resources/views/layouts/layout.blade.php 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 阅读全文
posted @ 2023-10-29 10:29 刘宏缔的架构森林 阅读(31) 评论(0) 推荐(0)
摘要: 一,相关文档: https://learnku.com/docs/laravel/10.x/eloquent-relationships/14889 二,php代码: 1,model中定义方法 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 阅读全文
posted @ 2023-10-25 07:50 刘宏缔的架构森林 阅读(249) 评论(0) 推荐(0)
上一页 1 ··· 87 88 89 90 91 92 93 94 95 ··· 169 下一页