上一页 1 2 3 4 5 6 7 8 9 ··· 83 下一页
摘要: 一,安装第三方库 1,官方代码站: https://github.com/lcobucci/jwt 文档地址: https://lcobucci-jwt.readthedocs.io/en/latest/ 2,用composer安装 liuhongdi@lhdpc:/data/laravel/dig 阅读全文
posted @ 2023-11-01 07:49 刘宏缔的架构森林 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 一,报错信息 post到不存在的路由时,会触发MethodNotAllowedHttpException,提示信息: The POST method is not supported for route login/login. Supported methods: GET, HEAD." The 阅读全文
posted @ 2023-10-31 08:26 刘宏缔的架构森林 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 一,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:21 刘宏缔的架构森林 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 一,第三方库: 官方代码库: https://github.com/Gregwar/Captcha 二,安装第三方库 1,用composer安装 liuhongdi@lhdpc:/data/laravel/dignews$ composer require gregwar/captcha 2,安装完 阅读全文
posted @ 2023-10-31 08:17 刘宏缔的架构森林 阅读(173) 评论(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 刘宏缔的架构森林 阅读(24) 评论(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:41 刘宏缔的架构森林 阅读(6) 评论(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 刘宏缔的架构森林 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 一,phpexcel官方代码站: https://github.com/PHPOffice/PHPExcel 说明:项目在2019年已经被设置为archived新用户可以使用它的代替项目PhpSpreadsheet来实现我是因为旧代码中使用了这个库才应用它来工作 二,演示代码: 1 2 3 4 5 阅读全文
posted @ 2023-10-30 07:51 刘宏缔的架构森林 阅读(89) 评论(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:35 刘宏缔的架构森林 阅读(42) 评论(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:32 刘宏缔的架构森林 阅读(89) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 83 下一页