PHPackages                             dbstudios/php-api-common - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. dbstudios/php-api-common

ActiveLibrary[API Development](/categories/api)

dbstudios/php-api-common
========================

Contains common code for building PHP REST APIs

3.0.0(2y ago)22021[2 PRs](https://github.com/LartTyler/php-api-common/pulls)GPL-3.0PHPPHP &gt;=8.0.2

Since Nov 26Pushed 2y agoCompare

[ Source](https://github.com/LartTyler/php-api-common)[ Packagist](https://packagist.org/packages/dbstudios/php-api-common)[ RSS](/packages/dbstudios-php-api-common/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (13)Versions (22)Used By (0)

This package contains components that tend to be useful across different REST API projects.

This package is broken up into several parts:

- [Common](#common) code, files that are always useful.
- [Validation](#validation) code, files that are useful in tandem with the `symfony/validator` component.
- [Doctrine Query Document](#doctrine-query-document) code, files that are useful in tandem with the `dbstudios/doctrine-query-document` library.
- [Lexik JWT](#lexik-jwt) code, files that are useful in tandem with the `lexik/jwt-authentication-bundle` bundle.
- [Payload](#payload) code, files that are useful in tandem with the `symfony/serializer` component's deserialize functionality.

Common
======

[](#common)

Common files include the `ResponderInterface` and it's implementations, as well as the classes in the top level of the [`src/Error/Errors`](src/Error/Errors) directory.

Working with responders is pretty straightforward.

```
