Download the PHP package simon-schubert/terry-api without Composer
On this page you can find all versions of the php package simon-schubert/terry-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download simon-schubert/terry-api
More information about simon-schubert/terry-api
Files in simon-schubert/terry-api
Download simon-schubert/terry-api
More information about simon-schubert/terry-api
Files in simon-schubert/terry-api
Vendor simon-schubert
Package terry-api
Short Description violines/rest-bundle is a Symfony Bundle to create REST APIs. It focusses on HTTP standards and integrates the symfony/serializer and symfony/validator.
License MIT
Package terry-api
Short Description violines/rest-bundle is a Symfony Bundle to create REST APIs. It focusses on HTTP standards and integrates the symfony/serializer and symfony/validator.
License MIT
Please rate this library. Is it a good library?
Informations about the package terry-api
About
violines/rest-bundle is a Symfony Bundle to create REST APIs. It focusses on HTTP standards and integrates the symfony/serializer and symfony/validator.
Features
- Request body or query string to object conversion
- Response building from objects
- Configurable content negotiation
- Events to control symfony/serializer context
- Integration of symfony/validator
- Error Handling
- Optional Logging
Compatible with...
- Symfony 5.4 + 6
- PHP 8 + 8.1
Designed for...
modern architectures that apply Domain Driven Design principles, hexagonal architecture or similar concepts.
Install
How does it work?
- Create any PHP class (Entity, DTO, Command, Query, etc) and add the
#[HttpApi]
attribute or@HttpApi
annotation - Use any property attributes/annotations from symfony/serializer or symfony/validator
- Declare this PHP class as type of a controller argument
- Return an instance of this PHP class in the controller
Show Case
Find a sample of usage under: https://github.com/violines/rest-bundle-showcase.
Example
Wiki
For more details please check violines/rest-bundle Wiki.
Development setup
- copy docker/.env.dist to docker/.env and adjust to your needs
- cd docker/
- pull latest image(s): docker-compose pull
- create the container(s): docker-compose up -d
- run tests with
docker-compose exec php80 composer run test
All versions of terry-api with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
psr/log Version ^1.1 || ^2.0 || ^3.0
symfony/config Version ^5.4 || ^6.0
symfony/contracts Version ^2.5 || ^3.0
symfony/dependency-injection Version ^5.4 || ^6.0
symfony/http-kernel Version ^5.4 || ^6.0
symfony/http-foundation Version ^5.4 || ^6.0
symfony/serializer Version ^5.4 || ^6.0
symfony/validator Version ^5.4 || ^6.0
psr/log Version ^1.1 || ^2.0 || ^3.0
symfony/config Version ^5.4 || ^6.0
symfony/contracts Version ^2.5 || ^3.0
symfony/dependency-injection Version ^5.4 || ^6.0
symfony/http-kernel Version ^5.4 || ^6.0
symfony/http-foundation Version ^5.4 || ^6.0
symfony/serializer Version ^5.4 || ^6.0
symfony/validator Version ^5.4 || ^6.0
The package simon-schubert/terry-api contains the following files
Loading the files please wait ....