PHPackages                             kohkimakimoto/altax-server - 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. kohkimakimoto/altax-server

ActiveLibrary

kohkimakimoto/altax-server
==========================

Running php built-in web server via altax.

v0.2.1(12y ago)344Apache License 2.0PHPPHP &gt;=5.4.0

Since Feb 7Pushed 12y ago1 watchersCompare

[ Source](https://github.com/kohkimakimoto/altax-server)[ Packagist](https://packagist.org/packages/kohkimakimoto/altax-server)[ Docs](https://github.com/kohkimakimoto/altax-server)[ RSS](/packages/kohkimakimoto-altax-server/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

Altax server plugin
===================

[](#altax-server-plugin)

[![Build Status](https://camo.githubusercontent.com/36d9f8317acd8a20f30c6c6465bd964893f8c1ce7860e7b07eb483a57c17cfae/68747470733a2f2f7472617669732d63692e6f72672f6b6f686b696d616b696d6f746f2f616c7461782d7365727665722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/kohkimakimoto/altax-server)

Running php built-in web server via [altax](https://github.com/kohkimakimoto/altax).

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

[](#installation)

Edit your `.altax/composer.json` file like the following

```
{
  "require": {
    "kohkimakimoto/altax-server": "dev-master"
  }
}

```

Run altax update

```
$ altax update

```

Add the following line your `.altax/config.php` file.

```
Task::register('server', 'Altax\Contrib\Server\Command\ServerCommand');

```

Usage
-----

[](#usage)

Run the task command

```
$ altax server [-H|--host[="..."]] [-p|--port[="..."]] [-t|--docroot[="..."]] [script]

```

Configuration
-------------

[](#configuration)

Example:

```
Task::register('server', 'Altax\Contrib\Server\Command\ServerCommand')
->config(array(
    "host" => "localhost",
    "port" => 1234,
    "docroot" => "/path/to/document/root",
    "script" => "/path/to/router/script.php",
    ));
```

### host

[](#host)

The host address of the server.

### port

[](#port)

The port of the server.

### docroot

[](#docroot)

The document root of the server.

### script

[](#script)

Router script of the server.

See also
--------

[](#see-also)

- [PHP: Built-in web server - Manual ](http://www.php.net/manual/en/features.commandline.webserver.php)
- [altax](https://github.com/kohkimakimoto/altax)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Every ~1 days

Total

3

Last Release

4472d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/232e612dbf32e70978372a2249e28dd037f75eadafc547913375708571c65f9a?d=identicon)[kohkimakimoto](/maintainers/kohkimakimoto)

---

Top Contributors

[![kohkimakimoto](https://avatars.githubusercontent.com/u/761462?v=4)](https://github.com/kohkimakimoto "kohkimakimoto (37 commits)")

---

Tags

pluginaltax

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kohkimakimoto-altax-server/health.svg)

```
[![Health](https://phpackages.com/badges/kohkimakimoto-altax-server/health.svg)](https://phpackages.com/packages/kohkimakimoto-altax-server)
```

###  Alternatives

[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k16.4M48](/packages/lab404-laravel-impersonate)[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

596161.9M1.9k](/packages/dealerdirect-phpcodesniffer-composer-installer)[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k37.3M2.1k](/packages/ergebnis-composer-normalize)[sabre/event

sabre/event is a library for lightweight event-based programming

35227.4M25](/packages/sabre-event)[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

24924.2M71](/packages/php-http-cache-plugin)[pestphp/pest-plugin

The Pest plugin manager

4458.2M109](/packages/pestphp-pest-plugin)

PHPackages © 2026

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