Download the PHP package opensoft/opensoft-simple-serializer-bundle without Composer
On this page you can find all versions of the php package opensoft/opensoft-simple-serializer-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download opensoft/opensoft-simple-serializer-bundle
More information about opensoft/opensoft-simple-serializer-bundle
Files in opensoft/opensoft-simple-serializer-bundle
Package opensoft-simple-serializer-bundle
Short Description Symfony bundle for a simple-serializer library
License MIT
Homepage https://github.com/opensoft/OpensoftSimpleSerializerBundle
Informations about the package opensoft-simple-serializer-bundle
OpensoftSimpleSerializerBundle
Introduction
OpensoftSimpleSerializerBundle is wrapper for simple-serializer library.
Installation
Using Composer (recommended)
To install OpensoftSimpleSerializerBundle with Composer just add the following to your composer.json file:
Then, you can install the new dependencies by running Composer’s update command from the directory where your composer.json file is located:
Composer will automatically download all required files, and install them for you. All that is left to do is to update your AppKernel.php file, and register the new bundle:
Using the deps file (Symfony 2.0.x)
Update your deps file
Update your AppKernel.php file, and register the new bundle:
Make sure that you also register the namespaces with the autoloader:
Now use the vendors script to clone the newly added repositories into your project:
Configuration
OpensoftSimpleSerializerBundle requires no initial configuration to get you started.
Below you find a reference of all configuration options with their default values:
Usage
Firstly, you could create mapping files for your objects.
Below you find a reference of all configuration options for property:
- expose
- true
- false (default)
- type
- integer
- boolean
- double
- string
- array
- T - fully qualified class name
- array\<T>
- DateTime (default format is ISO8601)
- DateTime\<format>
- format could be name of DateTime constant (COOKIE, ISO8601) or string
- serialized_name
- default value is equal name property
- since_version
- string
- until_version
- string
- groups
- array
Then you could use "simple_serializer" service.
All versions of opensoft-simple-serializer-bundle with dependencies
symfony/framework-bundle Version ^3.3
opensoft/simple-serializer Version >=1.0.0