b2pweb / bdf-serializer-bundle
Symfony SerializerBundle
Installs: 2 078
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ~7.2 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0
- b2pweb/bdf-serializer: ~1.0
- symfony/config: ^5.1|^6.0|~7.0
- symfony/dependency-injection: ^5.1|^6.0|~7.0
- symfony/framework-bundle: ^5.1|^6.0|~7.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ~3.0
- phpunit/phpunit: ~7.0|~8.0|~9.0
- symfony/console: ^5.1|^6.0|~7.0
- symfony/phpunit-bridge: ^5.1|^6.0|~7.0
- symfony/yaml: ^5.1|^6.0|~7.0
README
Installation
1 Download the Bundle
Download the latest stable version of this bundle with composer:
$ composer require b2pweb/bdf-serializer-bundle
2 Enable the Bundle
Adding the following line in the config/bundles.php
file of your project::
<?php // config/bundles.php return [ // ... Bdf\SerializerBundle\BdfSerializerBundle::class => ['all' => true], // ... ];
3 Add configuration
Add a default config file to ./config/packages/bdf_serializer.yaml
.
Enable caching for production
bdf_serializer: cache: pool: 'cache.app'
Add a test file to ./config/packages/test/bdf_serializer.yaml
bdf_serializer: cache: pool: null