Projects / psx


PSX is a PHP framework for creating RESTful APIs. It helps you to build clean URLs serving Web standard formats like JSON, XML, Atom, and RSS. It includes a handler system that abstracts away SQL queries from domain logic, a routing system that executes correct controller method for the location of the controller and the method annotation, and a flexible data system that converts database records into formats like JSON, XML, Atom, and RSS. A lightweight DI container handles dependencies. The controller supports request and response filters that can modify the HTTP request or response, and filters are provided for Basic and Oauth authentication.

Operating Systems

Recent releases

  •  03 May 2014 21:28

    Release Notes: This release improves hhvm compatibility (all tests pass on hhvm 3.0.1). A missing HTTP event method onHead was added, and it is now possible to set an alias path in a routing file. An HTML writer was added, and the routing mechanism was improved. The swagger library was updated to the current version 1.2. A record XML definition schema was added, and the overall test coverage was increased.

    •  15 Mar 2014 16:12

      Release Notes: This release improves the hhvm compatibility of the framework. The HTTP library was updated to the current psr-7 specification, and the HTTP request and response objects now get passed through the complete framework lifecycle. This release also increases the overall test coverage and stabilizes the API.

      •  28 Sep 2013 16:59

        Release Notes: This release adds a new routing system based on a routing file. The payment paypal library was improved and an HTTP mock and mock capture handler was added. The template and module folder were removed in favor of a bundle-like system. A new custom error template configuration was added, and some unit tests were improved.

        •  14 Jul 2013 14:51

          Release Notes: This release adds classes to handle JWS (Json Web Signature). It adds support for calling controller through the CLI to simplify testing. A void session was added that can be used in the DI container for testing. The error response handling was improved, and the JSON library throws an exception if decoding of a JSON string fails.

          •  28 Jun 2013 21:18

            Release Notes: This release contains some minor changes. A dispatch class was added, which routes requests to the controller. The controller can now return filters, which can modify the request or response e.g. to handle authentication. The controller proxies unknown get* methods to the DI container. The template engine was improved and wrapper classes were added for Twig and Smarty. The DI container is now compatible with the Symfony DI container. Libraries were added for generatign sitemap and odata XML. The documentation was improved and some smaller bugs were fixed.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.