laravel
-
在 Laravel 6 中,执行命令:php artisan telescope:publish,报错:There are no commands defined in the “telescope” namespace.
1、在 Laravel 6 中,执行命令:php artisan telescope:publish,报错:There are no commands defined in the…
-
在执行 php artisan package:discover –ansi 时,报错:Exception : Please install the Elasticsearch PHP client: elasticsearch/elasticsearch.
1、在执行 php artisan package:discover –ansi 时,报错:Exception : Please install the Elastic…
-
使用 Lighthouse 构建 GraphQL 服务器的入门,从零开始为一个简单博客创建 GraphQL API
1、使用 Lighthouse 构建 GraphQL 服务器的入门。参考网址:https://lighthouse-php.cn/tutorial/ 2、从零开始为一个简单博客创建…
-
在 Laravel 6 中报错:LOG.error: This cache store does not support tagging. {“exception”:{}}
1、在 Laravel 6 中报错:LOG.error: This cache store does not support tagging. {“exception&…
-
在 Windows 10 宿主机中运行 MailHog ,方便我们开发 Laravel 时对邮件发送的监控
1、在 Windows 10 中安装 MailHog ,方便我们开发 Laravel 时对邮件发送的监控。原因在于开发环境是本地主机环境,并非 Homestead 或者 Docke…
-
chmod(): Operation not permitted,/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
1、chmod(): Operation not permitted,/vendor/laravel/framework/src/Illuminate/Filesystem/Fil…
-
在 Windows 10 专业版中创建 weibo 应用,基于 Laravel Sail 开发环境
1、使用 Composer 创建一个名为 weibo 的应用。打开 Windows Terminal 命令行,按照以下指示进入 Ubuntu 系统。如图1 图1 2、Ubuntu …
-
在 Windows 10 64、PHP 7.0.22 下安装 Laravel 5.5 的流程
1、通过 Composer 在命令行运行 create-project 命令来安装 Laravel,运行命令:composer create-project –pref…
-
在 PHP 中实现文件路径名(编辑模板代码时,可新增文件)的安全验证
1、查看请求参数:asset[key]: assets/2022/02/25.css,准备在模板文件中新增文件:assets/2022/02/25.css。响应失败:Theme f…
-
laravel框架部署
每一个 Laravel 程序都会生成一个随机的 32 位长度的字符串存储在 .env 文件中的 APP_KEY 键值中, 当我们新建 Laravel 项目的时候会自动为你创建一个,…