Download the PHP package quickclack/rest-attribute-bundle without Composer
On this page you can find all versions of the php package quickclack/rest-attribute-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download quickclack/rest-attribute-bundle
More information about quickclack/rest-attribute-bundle
Files in quickclack/rest-attribute-bundle
Package rest-attribute-bundle
Short Description Modern REST support for Symfony 6.4–7.2 using attributes
License MIT
Informations about the package rest-attribute-bundle
Quickclack RestAttributeBundle
Modern REST support for Symfony 6.4–7.2 using attributes. This bundle simplifies the implementation of RESTful APIs by using PHP attributes for route parameters, making your Symfony controllers cleaner and easier to maintain.
Features
- Automatic parameter fetching from query, request, or route.
- Custom validation of parameters using Symfony Validator.
- Support for Symfony versions 6.4–7.2.
Installation
Install the bundle via Composer:
After installation, add to config/bundles.php:
Symfony 6.4–7.2 Compatibility
This bundle supports Symfony 6.4 through 7.2, so make sure you have a compatible Symfony version installed.
Usage
The bundle provides a simple way to fetch parameters from request queries and route parameters with automatic validation.
Example
Testing
License
This bundle is licensed under the MIT License. See the LICENSE file for more details.
Changelog
All notable changes to this project will be documented in the CHANGELOG.md.
All versions of rest-attribute-bundle with dependencies
symfony/framework-bundle Version ^6.4 || ^7.0
symfony/validator Version ^6.4 || ^7.0