Projects / psx

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.

Tags
Licenses
Operating Systems
Implementation
Translations

RSS Recent releases

  •  15 Mar 2014 20:17

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 17:50

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 18:55

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.

  •  29 Jun 2013 05:22

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.

  •  24 Mar 2013 19:18

Release Notes: This release adds namespace support, improves the HTML parser library and several db test cases, adds a pingback library, and fixes some bugs. This release has no backwards compatibility, since all classes are now defined in a namespace.

Screenshot

Project Spotlight

NTP

A time synchronization daemon which keeps your system time accurate.

Screenshot

Project Spotlight

UDP IPTV to RTSP proxy

Access to UDP multicast streams via RTSP/RTP unicast protocols.