Download the PHP package yiisoft/yii2-app-benchmark without Composer
On this page you can find all versions of the php package yiisoft/yii2-app-benchmark. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yiisoft/yii2-app-benchmark
More information about yiisoft/yii2-app-benchmark
Files in yiisoft/yii2-app-benchmark
Package yii2-app-benchmark
Short Description Yii 2 Benchmark Application
License BSD-3-Clause
Homepage http://www.yiiframework.com/
Informations about the package yii2-app-benchmark
Yii 2 Benchmark Application
Yii 2 Benchmark Application is an application built to demonstrate the minimal overhead introduced by the Yii framework. The application contains a single page which only renders the "hello world" string.
The application attempts to simulate the scenario in which you can achieve the best performance when using Yii. It does so by assuming that both of the main application configuration and the page content are cached in memory, and the application enables pretty URLs.
DIRECTORY STRUCTURE
protected/ contains application source code
controllers/ contains Web controller classes
index.php the entry script
REQUIREMENTS
The minimum requirement by Yii is that your Web server supports PHP 5.4.0.
INSTALLATION
If you do not have Composer, you may download it from https://getcomposer.org/ or run the following command on Linux/Unix/MacOS:
You can then install the Bootstrap Application using the following command:
Now you should be able to access the benchmark page using the URL
In the above, we assume yii-benchmark
is directly under the document root of your Web server.
Note that in order to install some dependencies you must have PHP with OpenSSL support.