aescarcha / serializer
A bundle to handle serialization and deseralization of Entities on Symfony, it's a layer over Symfony's Serializer Component
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.5.9
- symfony/serializer: ^2.7
Requires (Dev)
- doctrine/orm: ~2.7
- phpunit/phpunit: ~4.8|~5.0
- symfony/phpunit-bridge: ~2.7
This package is auto-updated.
Last update: 2024-11-19 11:07:12 UTC
README
Introduction
This bundle is made to make serialization of Entities easier on Symfony. It handles symfony/serializer and provides a fallback to read from database if needed.
Install
composer require aescarcha/serializer
This bundle depends on doctrine entity manager, you need to add this
services.yml
services:
aescarcha.serializer:
class: Aescarcha\SerializerBundle\Controller\SerializeController
arguments: [ @doctrine.orm.entity_manager ]
AppKernel.php
$bundles = array(
new Aescarcha\SerializerBundle\AescarchaSerializerBundle(),
);
Tests
Tests are provided on the repo, but they're not working because the test requires some Entities and Repositories to work, making them work in a clean symfony install is also a TODO