PSX is a framework written in PHP dedicated to build RESTful APIs. It is based on multiple components which cover many aspects of the API lifecycle. These components are independent of the framework and can also be used in another context. The following list contains the most notable packages:
- psx/api Parse and generate API specification formats (i.e. RAML)
- psx/data Data processing library to read and write POPOs in different formats
- psx/schema Parse and generate data schema formats (i.e. JsonSchema)
- psx/sql Build complex data structures from relational databases
- psx/framework Engine of the PSX framework
More informations about the PSX framework and the components at phpsx.org.
>= PHP 5.5 or HHVM 3.2.0
To install the full stack framework you can install the sample project which setups a basic PSX project with a sample API.
php composer.phar create-project psx/sample .
you can also download the current release from GitHub which already includes all vendor libraries in case you can not use composer