Project Stanley is now PHPARI –

The information below is here for reference only, please follow the github link above.

Project Stanley


For the better part of the past 14 years I’ve been developing applications and platforms using the Asterisk PBX open source project. During the course of this time, while Asterisk changed and progressed, the PHP code around the project hadn’t changed that much. The primary framework, PHPAGI, has been laying dormant for years now, making it deviate from the primary Asterisk distribution as time progresses.

The purpose of Project-Stanley is to build a new set of tools, up-to-date with the latest Asterisk technologies in the market, and build a brand new wireframe on top of these. The objective is fairly simple: “Create an extendable, maintainable, reliable and simple wireframe to utilize Asterisk ARI and Stasis”.

Selected Class Libraries

Currently, I’ve selected the following class libraries as the base line for the wireframe:

Ratchet ( – A PHP 5.3 library for asynchronously serving WebSockets. Build up your application through simple interfaces and re-use your application without changing any of its code just by combining different components.

CodeIgniter ( – CodeIgniter is an Application Development Framework – a toolkit – for people who build web sites using PHP. Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. CodeIgniter lets you creatively focus on your project by minimizing the amount of code needed for a given task.

phpws ( – WebSocket Server and Client library for PHP. Works with the latest HyBi specifications, as well the older Hixie #76 specification used by older Chrome versions and some Flash fallback solutions.


[** As time progresses, this list will change …]

Where can I find Project Stanley

Project Stanley is hosted on Github, at the following URL:

Project Status

14/08/2014 – Project launch, no files published yet 🙁