![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
swoft
swoft
一杯雪花勇闯天涯
越努力越幸运
展开
-
swoft(v2.0.8)之Bean容器踩坑
Bean容器代码 <?php namespace App\Bean; use Swoft\Bean\Annotation\Mapping\Bean; /** *@Bean(name="User", scope=Bean::SINGLETON , alias="u") */ class User { private $name; private $age; ...原创 2020-03-16 11:55:30 · 376 阅读 · 0 评论 -
swoft初体验
step1:框架安装 官方文档 https://www.swoft.org/documents/v2/quick-start/install/ composer create-project swoft/swoft Swoft swoftbin目录授权 chmod -R 755 /home/php/phpcode/swoft/Swoft/bin 启动swoft 文档参考 https://w...原创 2020-03-14 16:37:26 · 142 阅读 · 0 评论