Download the PHP package oplatform-club/platform-serialised-fields without Composer
On this page you can find all versions of the php package oplatform-club/platform-serialised-fields. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download oplatform-club/platform-serialised-fields
More information about oplatform-club/platform-serialised-fields
Files in oplatform-club/platform-serialised-fields
Package platform-serialised-fields
Short Description Oro Platform Serialized Fields
License OSL-3.0
Homepage https://github.com/oroinc/OroEntitySerializedFieldsBundle
Informations about the package platform-serialised-fields
OroEntitySerializedFieldsBundle
This document contains a little introduction into "Oro Entity Serialized Fields" package, information on how to download and install.
Table of content
- Fundamentals
- Requirements
- Installation
- Run unit tests
Fundamentals
ORO Platform provides ability to have custom entities or extend entities with new custom fields.
The package allows to avoid schema update when you create custom field. Although this field come with some restrictions.
Such fields data stores in serialized_data
column as serialized array. Field serialized_data
is hidden from UI in entity config page.
Not supported features:
- grid filtering and sorting
- segments and reports
- charts
- search
- relations, enums and option set field types
- data audit
- usage of such fields in Doctrine query builder
After installation (described below) a new field called Storage Type appears within New field creation page where you will be offered to choose between two storage types:
Table Column
option will allow to create custom field as usual;Serialized field
option means that you can avoid schema update and start to use this field imediately, but should take into account, that field types are limited in this case to:- string
- integer
- smallint
- bigint
- boolean
- decimal
- date
- datetime
- text
- float
- money
- percent
To create a serialized field via migration the SerializedFieldsExtension can be used. Here is an example:
Requirements
OroEntitySerializedFieldsBundle requires OROPlatform(BAP) and PHP 7.0 or above.
Installation
Package is available through Oro Package Manager. For development purposes it might be cloned from github repository directly.
Update your composer.json with
Run unit tests
To run unit tests for this package: