PHPackages                             aip/aip - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. aip/aip

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

aip/aip
=======

Application server in PHP

0.10.1(12y ago)2863.8k21[5 issues](https://github.com/indeyets/appserver-in-php/issues)1BSD-3-ClausePHPPHP &gt;=5.3.3CI failing

Since Apr 5Pushed 11y ago9 watchersCompare

[ Source](https://github.com/indeyets/appserver-in-php)[ Packagist](https://packagist.org/packages/aip/aip)[ Docs](https://github.com/indeyets/appserver-in-php)[ RSS](/packages/aip-aip/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (12)Used By (1)

AppServer, a set of components for building fast universal web-apps in PHP
==========================================================================

[](#appserver-a-set-of-components-for-building-fast-universal-web-apps-in-php)

[![Latest Stable Version](https://camo.githubusercontent.com/0294ef86dd2f5262becf47d83504631f76ced6c3b6353130fb8e0d7029cf1488/68747470733a2f2f706f7365722e707567782e6f72672f6169702f6169702f762f737461626c652e706e67)](https://packagist.org/packages/aip/aip)

Web server interface for PHP, inspired by Ruby’s [Rack](http://rack.github.io/) and Python’s [WSGI](http://wsgi.readthedocs.org/). It provides a common API for connecting PHP frameworks and applications to webservers.

The main idea is, that your app, if built for this protocol, will be able to preload resources, preconnect to databases and response to requests **really** fast.

PHP 5.3+ is required, as it provides [garbage collector](http://docs.php.net/gc) for cyclic references, which is critical for long-running apps.

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

[](#installation)

The recommended way to install AiP is [through Composer](http://getcomposer.org). Just create a `composer.json` file and run the `php composer.phar install` command to install it:

```
{
    "require": {
        "aip/aip": "~0.10.0"
    }
}

```

Usage
-----

[](#usage)

Take a look at [example](https://github.com/indeyets/appserver-in-php/tree/master/examples/new/).

- MyApp.class.php — application class. "\_\_invoke()" method is the entry point
- aip.yaml — defines that this application should be served both as HTTP and SCGI

run with `aip app [path/to/[aip.yaml]]` command, test by pointing your browser to

\##Discuss

Please join [our discussion group](http://groups.google.com/group/aip-php-dev)

There's also #appserver-in-php IRC-channel on [freenode](http://freenode.net)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.3% 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 ~53 days

Recently: every ~59 days

Total

11

Last Release

4619d ago

PHP version history (5 changes)0.9.3PHP &gt;=5.3.0

0.9.4PHP &gt;=5.3.11

0.9.6PHP 5.3.3,5.3.4,5.3.5,5.3.6,5.3.7,5.3.8,~5.3.11,~5.4.3

0.9.7PHP 5.3.3,5.3.4,5.3.5,5.3.6,5.3.7,5.3.8,5.3.11,5.3.12,5.3.13,5.3.14,5.3.15,5.3.16,5.3.17,5.3.18,5.3.19,~5.4.3

0.9.8PHP &gt;=5.3.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/24e2a17f02a5187239b508e59e696a1f8dcbe69ed6322a59f1bd17c5175b70c6?d=identicon)[indeyets](/maintainers/indeyets)

![](https://avatars.githubusercontent.com/u/3346?v=4)[Henri Bergius](/maintainers/bergie)[@bergie](https://github.com/bergie)

---

Top Contributors

[![indeyets](https://avatars.githubusercontent.com/u/13445?v=4)](https://github.com/indeyets "indeyets (286 commits)")[![bergie](https://avatars.githubusercontent.com/u/3346?v=4)](https://github.com/bergie "bergie (8 commits)")[![umonkey](https://avatars.githubusercontent.com/u/16797?v=4)](https://github.com/umonkey "umonkey (3 commits)")[![jaypea](https://avatars.githubusercontent.com/u/367199?v=4)](https://github.com/jaypea "jaypea (1 commits)")[![saleemkce](https://avatars.githubusercontent.com/u/6330544?v=4)](https://github.com/saleemkce "saleemkce (1 commits)")[![zozfried](https://avatars.githubusercontent.com/u/671163?v=4)](https://github.com/zozfried "zozfried (1 commits)")

---

Tags

appserveraip

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

96374.6k23](/packages/friendsoftypo3-content-blocks)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[altis/local-server

Local Server module for Altis

18208.4k2](/packages/altis-local-server)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)

PHPackages © 2026

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