-
I know there is a lot of efforts to "unify" routing management & follow so called best practices a la Symfony & Laravel .. , but after reviewing Yii3 implementation I have to acknowledge, that the bea…
-
装了后报错了,
yii\base\InvalidArgumentException: The file or directory to be published does not exist: /data/app/im/vendor/bower-asset/jquery/dist in /data/app/im/vendor/yiisoft/yii2/web/AssetManager.php:4…
-
## Current state
Currently we're working with request/response globally via `Yii::$app->request` and `Yii::$app->response`.
## Problem
Encapsulation violated. Request and response aren't mean…
-
I often hear complains about the TechEmpower benchmarks not reporting any information about frameworks memory consumption. I agree that indeed it is an interesting information and that it should be so…
-
yii\base\InvalidCallException: Setting read-only property: feehi\web\Session::name in /home/neil/yii2/yii2-app-advanced/vendor/yiisoft/yii2/base/Component.php:206
Stack trace:
#0 /home/neil/yii2/yii…
-
# swoft 2.0 开发意见收集
鉴于1.0的规划过于庞大,一些组件其实很少人使用,开发团队感觉维护困难。
决定开发2.0:
- 全协程化: swoole 4.3+, php 7.1+
- 重心调整:核心团队首先专注基础框架和核心组件的开发维护
- 其他组件的重心放低,鼓励社区和感兴趣的人开发维护
- 有更充足的时间编写单元测试和相关文档
## 这里做一些意见收集…
-
neil@neil:~/yii2/yii2-app-advanced/frontend/swoole$ sudo /usr/local/php-7.2.3/bin/php http_server_coroutine.php start
An Error occurred while handling another error:
worker:#0yii\base\InvalidRouteEx…
-
Calling unknown method: feehi\web\Session::setCacheLimiter(),前台点击文章页出现这个问题
-
我用该组件的目的是为了解决yii2中的redis没有连接池的问题,找了很多组件,没找到合适的,我看到这个组件说支持redis连接池,所以就用了,希望大家如果有发现好yii2相关的redis连接池组件请留言给我,下面继续说步骤。
环境:系统是Linux Ubuntu 16.04,yii是2.0.12,swoole是2.2,PHP是7.0.32,nginx是1.10.3
步骤1、创建htt…
-
只需要执行composer require tsingsun/yii2-swoole这个吗
是不是还需要安装yii框架 啊,还是执行 composer install 呢