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 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.
Release Notes: This release contains classes to generate a swagger API declaration. The loader uses now a new annotation parser for easier routing. This release adds new html5 filter collections and fixes many bugs.