b2pweb/bdf-serializer-bundle

Symfony SerializerBundle

Installs: 2 099

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

v1.1.1 2024-09-27 09:46 UTC

This package is auto-updated.

Last update: 2024-11-15 09:00:45 UTC


README

build Scrutinizer Code Quality Packagist Version Total Downloads

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