antonchernik / restful-bundle
Useful classes for Restful API
Installs: 58
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=8.0
- antonchernik/dto-bundle: >=1.0
- antonchernik/logging-bundle: >=1.1
- doctrine/annotations: >=1.10
- doctrine/collections: >=1.5
- justinrainbow/json-schema: ^5.2
- phpdocumentor/reflection-docblock: ^5.2
- sensio/framework-extra-bundle: >=6.0
- symfony/expression-language: ^5.3
- symfony/framework-bundle: >=5.0
- symfony/property-access: >=5.0
This package is auto-updated.
Last update: 2024-12-19 04:23:27 UTC
README
composer require antonchernik/restful-bundle
Register the bundle:
// config/bundles.php return [ ... RestfulBundle\RestfulBundle::class => ['all' => true], ];
Add configuration to services.yaml:
parameters: restful_bundle.validation.message_map: !php/const App\Dictionary\ValidationMessages::MESSAGE_MAP #or use Symfony Standard RestfulBundle\Dictionary\ValidationMessages::MESSAGE_MAP