Hyperf
文章平均质量分 61
松垮的屁兜
这个作者很懒,什么都没留下…
展开
-
【腾讯cos对象存储】hyperf腾讯cos上传,腾讯cos sdk使用
hyperf2.2文档地址 链接: https://hyperf.wiki/2.2/#/composer文档 链接: https://wiki.swoole.com/腾讯cos对象存储文档 链接: https://cloud.tencent.com/document/product/436/12266#composerhyperf框架文件系统+腾讯cos使用文件系统组件集成了 PHP 生态中大名鼎鼎的 League\Flysystem,安装:composer require hy.原创 2022-01-18 11:17:01 · 1724 阅读 · 1 评论 -
【SQL】sql数据过滤(不等于某数据)问题
需求:取表中全部数据,其中过滤掉指定字段的值原生sql-where not exists:过滤h_article表中art_status = -1 and add_user_id != 1的数据,获取剩余的数据select * from h_article a where not exists(select * from h_article b WHERE a.art_uuid = b.art_uuid and art_status = -1 and add_user_id != 1hype原创 2021-11-04 10:01:50 · 2019 阅读 · 0 评论 -
【Hyperf】配置数据库、redis、模型创建
hyperf配置数据库、redis、模型创建 Hyperf初体验 一.配置数据库 配置文件位于config/autoload/database.php,配置信息位于项目根目录下.env文件 二.模型创建 sudo php bin/hyperf.php gen:model Go...转载 2021-03-26 09:35:01 · 558 阅读 · 0 评论 -
【Hyperf】安装
安装Hyperf的服务器要求 PHP >= 7.3Swoole PHP 扩展 >= 4.5,并关闭了 Short NameOpenSSL PHP 扩展JSON PHP 扩展PDO PHP 扩展 (如需要使用到 MySQL 客户端)Redis PHP 扩展 (如需要使用到 Redis 客户端)Protobuf PHP 扩展 (如需要使用到 gRPC 服务端或客户端)一、一键安装lnmp:https://lnmp.org/install.htm...原创 2021-03-22 15:27:11 · 590 阅读 · 0 评论