json-api-php
JSON-API (http://jsonapi.org) responses in PHP.
File Explorer
Download Latest Version (.zip)- ExceptionHandlerInterface.php
- FallbackExceptionHandler.php
- InvalidParameterExceptionHandler.php
- ResponseBag.php
- InvalidParameterException.php
- AbstractSerializer.php
- Collection.php
- Document.php
- ElementInterface.php
- ErrorHandler.php
- LinksTrait.php
- MetaTrait.php
- Parameters.php
- Relationship.php
- Resource.php
- SerializerInterface.php
- Util.php
- FallbackExceptionHandlerTest.php
- InvalidParameterExceptionHandlerTest.php
- AbstractSerializerTest.php
- AbstractTestCase.php
- CollectionTest.php
- DocumentTest.php
- ErrorHandlerTest.php
- LinksTraitTest.php
- ParametersTest.php
- ResourceTest.php
- UtilTest.php
- .gitattributes
- .gitignore
- .php_cs
- .travis.yml
- CHANGELOG.md
- composer.json
- CONTRIBUTING.md
- LICENSE
- phpunit.xml.dist
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/tobyzerner/json-api-php
Downloads the entire project code from GitHub to your computer.
cd json-api-php
Moves into the project folder you just downloaded.
2. PHP (Composer)
Easy RecommendedPrerequisites
composer require tobscure/json-api
Type this command into your terminal and run it.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
