PHPackages                             yiisoft/yii2-app-benchmark - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. yiisoft/yii2-app-benchmark

ActiveProject[Framework](/categories/framework)

yiisoft/yii2-app-benchmark
==========================

Yii 2 Benchmark Application

2.0.4(11y ago)241.0k10[1 issues](https://github.com/yiisoft/yii2-app-benchmark/issues)BSD-3-ClausePHPPHP &gt;=5.4.0CI passing

Since Dec 1Pushed 1mo ago19 watchersCompare

[ Source](https://github.com/yiisoft/yii2-app-benchmark)[ Packagist](https://packagist.org/packages/yiisoft/yii2-app-benchmark)[ Docs](http://www.yiiframework.com/)[ RSS](/packages/yiisoft-yii2-app-benchmark/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (10)Used By (0)

Yii 2 Benchmark Application
===========================

[](#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
-------------------

[](#directory-structure)

```
  protected/          contains application source code
      controllers/    contains Web controller classes
  index.php           the entry script

```

REQUIREMENTS
------------

[](#requirements)

The minimum requirement by Yii is that your Web server supports PHP 5.4.0.

INSTALLATION
------------

[](#installation)

If you do not have [Composer](https://getcomposer.org/), you may download it from  or run the following command on Linux/Unix/MacOS:

```
curl -s https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

```

You can then install the Bootstrap Application using the following command:

```
composer global require "fxp/composer-asset-plugin:~1.1.0"
composer create-project --prefer-dist yiisoft/yii2-app-benchmark yii-benchmark

```

Now you should be able to access the benchmark page using the URL

```
http://localhost/yii-benchmark/index.php/site/hello

```

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.

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance59

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~75 days

Recently: every ~52 days

Total

8

Last Release

4114d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23416c58e0dce33a8369451a4ca0e28666373594027debc10184b37ade6a926b?d=identicon)[qiangxue](/maintainers/qiangxue)

---

Top Contributors

[![qiangxue](https://avatars.githubusercontent.com/u/993322?v=4)](https://github.com/qiangxue "qiangxue (12 commits)")[![samdark](https://avatars.githubusercontent.com/u/47294?v=4)](https://github.com/samdark "samdark (12 commits)")[![cebe](https://avatars.githubusercontent.com/u/189796?v=4)](https://github.com/cebe "cebe (5 commits)")[![creocoder](https://avatars.githubusercontent.com/u/896494?v=4)](https://github.com/creocoder "creocoder (3 commits)")[![janisto](https://avatars.githubusercontent.com/u/387868?v=4)](https://github.com/janisto "janisto (2 commits)")[![Arhell](https://avatars.githubusercontent.com/u/26163841?v=4)](https://github.com/Arhell "Arhell (2 commits)")[![SonicGD](https://avatars.githubusercontent.com/u/1222013?v=4)](https://github.com/SonicGD "SonicGD (1 commits)")[![bio](https://avatars.githubusercontent.com/u/38525?v=4)](https://github.com/bio "bio (1 commits)")[![bizley](https://avatars.githubusercontent.com/u/8577314?v=4)](https://github.com/bizley "bizley (1 commits)")[![crtlib](https://avatars.githubusercontent.com/u/4428231?v=4)](https://github.com/crtlib "crtlib (1 commits)")[![schmunk42](https://avatars.githubusercontent.com/u/649031?v=4)](https://github.com/schmunk42 "schmunk42 (1 commits)")

---

Tags

frameworkyii2applicationbenchmark

### Embed Badge

![Health badge](/badges/yiisoft-yii2-app-benchmark/health.svg)

```
[![Health](https://phpackages.com/badges/yiisoft-yii2-app-benchmark/health.svg)](https://phpackages.com/packages/yiisoft-yii2-app-benchmark)
```

###  Alternatives

[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13926.0k65](/packages/skeeks-cms)[craftcms/cms

Craft CMS

3.6k3.7M3.4k](/packages/craftcms-cms)[yiisoft/yii2-app-advanced

Yii 2 Advanced Project Template

1.7k962.7k5](/packages/yiisoft-yii2-app-advanced)[yiisoft/yii2-app-basic

Yii 2 Basic Project Template

6781.8M8](/packages/yiisoft-yii2-app-basic)[tecnocen/yii2-formgenerator

Yii 2 Library to configure form generator

135.7k](/packages/tecnocen-yii2-formgenerator)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
