Download the PHP package hexium-agency/symfony-serializer-for-laravel without Composer
On this page you can find all versions of the php package hexium-agency/symfony-serializer-for-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hexium-agency/symfony-serializer-for-laravel
More information about hexium-agency/symfony-serializer-for-laravel
Files in hexium-agency/symfony-serializer-for-laravel
Package symfony-serializer-for-laravel
Short Description Laravel package for the symfony/serializer component
License MIT
Homepage https://github.com/hexium-agency/laravel-sf-serializer
Informations about the package symfony-serializer-for-laravel
Laravel package for the symfony/serializer component
The symfony/serializer component is a great tool to serialize and deserialize objects. This package provides a bridge between Laravel and the symfony/serializer component. Then it should be very easy to use with DI in your application code, as well as adding some normalizers and encoders.
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
Normal dependency injection
Using the facade
Add normalizers and encoders
You can add normalizers and encoders to the serializer by adding them to the config file. The priority is used to sort the normalizers and encoders. The ids of the services must match some of your container.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Alexandre Gérault
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of symfony-serializer-for-laravel with dependencies
illuminate/contracts Version ^10 || ^11
phpdocumentor/reflection-docblock Version ^5.4
spatie/laravel-package-tools Version ^1.16
symfony/cache Version ^7.0
symfony/property-access Version ^7.0
symfony/property-info Version ^7.0
symfony/serializer Version ^7.0
symfony/validator Version ^7.0