b2pweb/bdf-serializer-bundle

Symfony SerializerBundle

Installs: 1 694

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

v1.1.0 2024-02-28 10:16 UTC

This package is auto-updated.

Last update: 2024-03-28 10:44:25 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