PHPackages                             codeception/phpbuiltinserver - 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. codeception/phpbuiltinserver

ActiveLibrary

codeception/phpbuiltinserver
============================

PhpBuiltinServer extension for Codeception

v1.5.0(6y ago)381.0M—6%35[10 PRs](https://github.com/tiger-seo/PhpBuiltinServer/pulls)17MITPHPPHP &gt;=5.6.0

Since Sep 15Pushed 2y ago2 watchersCompare

[ Source](https://github.com/tiger-seo/PhpBuiltinServer)[ Packagist](https://packagist.org/packages/codeception/phpbuiltinserver)[ RSS](/packages/codeception-phpbuiltinserver/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (20)Used By (17)

PhpBuiltinServer [![Latest Stable](https://camo.githubusercontent.com/abd05903338a0e14f5aa060e030567d02496686e68ed138446502e99f1f60eb0/68747470733a2f2f706f7365722e707567782e6f72672f636f646563657074696f6e2f7068706275696c74696e7365727665722f76657273696f6e2e706e67)](https://packagist.org/packages/codeception/phpbuiltinserver) [![Total Downloads](https://camo.githubusercontent.com/6ca50656da69d296a8d3b7eed8b6039b4e75b826f75e9d4bc7551b171631b5ff/68747470733a2f2f706f7365722e707567782e6f72672f636f646563657074696f6e2f7068706275696c74696e7365727665722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/codeception/phpbuiltinserver)
==============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#phpbuiltinserver--)

Codeception extension to start and stop PHP built-in web server for your tests.

Codeception BranchPhpBuiltinServer BranchStatus**Codeception 1.x****1.1.x**[![Build Status](https://camo.githubusercontent.com/6f24f888d79fc8995647923e3dc8aab62accc0f8e62249f42d3660f6a837d864/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f74696765722d73656f2f5068704275696c74696e5365727665722e706e673f6272616e63683d76312e312e78)](http://travis-ci.org/tiger-seo/PhpBuiltinServer)**Codeception 2.0****1.2.x**[![Build Status](https://camo.githubusercontent.com/b47144fbea212e5c94ce989db923b1022225196691c093ad02097126af6750b6/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f74696765722d73656f2f5068704275696c74696e5365727665722e706e673f6272616e63683d76312e322e78)](http://travis-ci.org/tiger-seo/PhpBuiltinServer)**Codeception 2.1, 2.2****1.3.x**[![Build Status](https://camo.githubusercontent.com/93ebe73bba42472efa89ecc00060010a0c233fbb10b53a82326fbe6741fa5ebb/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f74696765722d73656f2f5068704275696c74696e5365727665722e706e673f6272616e63683d76312e332e78)](http://travis-ci.org/tiger-seo/PhpBuiltinServer)**Codeception 2.3****1.4.x**[![Build Status](https://camo.githubusercontent.com/bc45394ebf0d7a0948b8fcf2628d85d0f03f5d2f12618cb86d79e863e512681d/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f74696765722d73656f2f5068704275696c74696e5365727665722e706e673f6272616e63683d76312e342e78)](http://travis-ci.org/tiger-seo/PhpBuiltinServer)**Codeception 3.0, 4.0****master**[![Build Status](https://camo.githubusercontent.com/db5b564b61566f67e051acfdf6386546afb82d395d5b01fcbf7d8b65398891df/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f74696765722d73656f2f5068704275696c74696e5365727665722e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/tiger-seo/PhpBuiltinServer)Minimum requirements
--------------------

[](#minimum-requirements)

- Codeception 3.0
- PHP 5.6

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

[](#installation)

1. Install [Codeception](http://codeception.com) via Composer
2. Add `codeception/phpbuiltinserver: "*"` to your `composer.json`
3. Run `composer install`
4. Include extensions into `codeception.yml` configuration:

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

[](#configuration)

### general example

[](#general-example)

```
paths:
    tests: .
    log: _log
    data: _data
    helpers: _helpers
extensions:
    enabled:
        - Codeception\Extension\PhpBuiltinServer
    config:
        Codeception\Extension\PhpBuiltinServer:
            hostname: localhost
            port: 8000
            autostart: true
            documentRoot: tests/_data
            startDelay: 1
            phpIni: /etc/php5/apache2/php.ini
```

### example for projects based on Symfony

[](#example-for-projects-based-on-symfony)

```
paths:
    tests: .
    log: _log
    data: _data
    helpers: _helpers
extensions:
    enabled:
        - Codeception\Extension\PhpBuiltinServer
    config:
        Codeception\Extension\PhpBuiltinServer:
            hostname: localhost
            port: 8000
            autostart: true
            documentRoot: ../web
            router: ../web/app.php
            directoryIndex: app.php
            startDelay: 1
            phpIni: /etc/php5/apache2/php.ini
```

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity50

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 79.1% 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 ~129 days

Recently: every ~250 days

Total

18

Last Release

2433d ago

PHP version history (3 changes)v1.0PHP &gt;=5.4.0

v1.4.0PHP &gt;=5.5.9

v1.5.0PHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1456ea11238214cb253c6e223ed20e5324eafd2ffcf1cd9270566ed562355718?d=identicon)[tiger-seo](/maintainers/tiger-seo)

---

Top Contributors

[![tiger-seo](https://avatars.githubusercontent.com/u/398720?v=4)](https://github.com/tiger-seo "tiger-seo (53 commits)")[![dontcallmedom](https://avatars.githubusercontent.com/u/216410?v=4)](https://github.com/dontcallmedom "dontcallmedom (2 commits)")[![jelhan](https://avatars.githubusercontent.com/u/4965703?v=4)](https://github.com/jelhan "jelhan (2 commits)")[![airdrummingfool](https://avatars.githubusercontent.com/u/631249?v=4)](https://github.com/airdrummingfool "airdrummingfool (2 commits)")[![polof](https://avatars.githubusercontent.com/u/419275?v=4)](https://github.com/polof "polof (2 commits)")[![subdee](https://avatars.githubusercontent.com/u/1172323?v=4)](https://github.com/subdee "subdee (1 commits)")[![mbrodala](https://avatars.githubusercontent.com/u/5037116?v=4)](https://github.com/mbrodala "mbrodala (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![porshkevich](https://avatars.githubusercontent.com/u/8709638?v=4)](https://github.com/porshkevich "porshkevich (1 commits)")[![gimler](https://avatars.githubusercontent.com/u/200904?v=4)](https://github.com/gimler "gimler (1 commits)")[![grantlucas](https://avatars.githubusercontent.com/u/215729?v=4)](https://github.com/grantlucas "grantlucas (1 commits)")

---

Tags

codeception

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/codeception-phpbuiltinserver/health.svg)

```
[![Health](https://phpackages.com/badges/codeception-phpbuiltinserver/health.svg)](https://phpackages.com/packages/codeception-phpbuiltinserver)
```

###  Alternatives

[lucatume/wp-browser

A set of Codeception modules to test WordPress projects.

6343.8M153](/packages/lucatume-wp-browser)[codeception/module-asserts

Codeception module containing various assertions

8550.6M1.2k](/packages/codeception-module-asserts)[codeception/lib-innerbrowser

Parent library for all Codeception framework modules and PhpBrowser

8641.7M77](/packages/codeception-lib-innerbrowser)[codeception/module-phpbrowser

Codeception module for testing web application over HTTP

6529.8M508](/packages/codeception-module-phpbrowser)[codeception/module-rest

REST module for Codeception

5927.8M213](/packages/codeception-module-rest)[codeception/module-symfony

Codeception module for Symfony framework

949.4M95](/packages/codeception-module-symfony)

PHPackages © 2026

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