b2pweb/bdf-serializer-bundle

Symfony SerializerBundle

Installs: 370

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

dev-master / 1.x-dev 2021-05-07 15:14 UTC

This package is auto-updated.

Last update: 2021-11-07 16:24:02 UTC


README

Build Status 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