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||Text Processing Markup Software Development Libraries php classes Internet Web Site Management Dynamic Content RESTful API|
|Operating Systems||OS Independent|
|Implementation||SQL PHP HTML XHTML JSON XML OAuth pubsubhubbub OpenSocial OpenID RSS Atom|
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.
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.
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.
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.
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.