PHPackages                             likai/yii-webserver - 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. likai/yii-webserver

ActiveYii-extension[Framework](/categories/framework)

likai/yii-webserver
===================

Yii development web server

1.0.0(12y ago)4125New BSDPHPPHP &gt;=5.4.0

Since Jul 16Pushed 12y ago1 watchersCompare

[ Source](https://github.com/tlikai/yii-webserver)[ Packagist](https://packagist.org/packages/likai/yii-webserver)[ Docs](https://github.com/tlikai/yii-webserver)[ RSS](/packages/likai-yii-webserver/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Yii Development Web Server
==========================

[](#yii-development-web-server)

Requirement
-----------

[](#requirement)

- PHP &gt;= 5.4
- Yii Framework

Installation
------------

[](#installation)

### Using composer install

[](#using-composer-install)

Add package to require-dev section of `composer.json` file

```
{
	"require-dev": {
		"likai/yii-webserver": "dev-master"
	}
}

```

Update composer from terminal

```
composer update

```

### Config

[](#config)

Set path alias to your `your-project/protected/config/console.php` file to the first line

```
Yii::setPathOfAlias('Likai', __DIR__ . '/../../vendor/likai/yii-webserver/src/Likai');

```

Add command to your `your-project/protected/config/console.php` file

```
return array(
    'commandMap' => array(
        'serve' => array(
            'class' => '\\Likai\\YiiWebserver\\ServerCommand',
            'host' => '127.0.0.1',
            'port' => '8888',
        ),
    ),
);

```

### Manual install

[](#manual-install)

- Download [yii-webserver.zip](https://github.com/tlikai/yii-webserver/archive/master.zip)
- Unzip this file
- Move directory `likai/yii-webserver/src/Likai/YiiWebserver` to `your-project/protected/extensions/YiiWebserver`

### Config

[](#config-1)

Add commandMap to your `your-project/protected/config/console.php` file

```
return array(
    'commandMap' => array(
        'serve' => array(
            'class' => 'ext.YiiWebserver.ServerCommand',
            'host' => '127.0.0.1',
            'port' => '8888',
        ),
    ),
);

```

Usage
-----

[](#usage)

```
yiic serve index [--host=] [--port=] [--root=] [--router=]

DESCRIPTION
    This command provider development web server

PARAMETERS
    --host host address
    --port host port
    --root document root
    --router router script file

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Unknown

Total

1

Last Release

4732d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95a7e28bfad31da4aecd922e5a056f33edda44817de7137e5c8fbc1634080349?d=identicon)[likai](/maintainers/likai)

---

Top Contributors

[![tlikai](https://avatars.githubusercontent.com/u/1356974?v=4)](https://github.com/tlikai "tlikai (6 commits)")

---

Tags

extensionyiiwebserver

### Embed Badge

![Health badge](/badges/likai-yii-webserver/health.svg)

```
[![Health](https://phpackages.com/badges/likai-yii-webserver/health.svg)](https://phpackages.com/packages/likai-yii-webserver)
```

PHPackages © 2026

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