gammadia / jms-serializer-1.x
Fork of jms/serializer 1.14.1 with support for modern PHP versions.
Installs: 24 882
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 583
Open Issues: 0
Requires
- php: ^7.2|^8.0
- doctrine/annotations: ^1.13
- doctrine/instantiator: ^1.4
- jms/metadata: ^1.3
- jms/parser-lib: ^1.0
- phpcollection/phpcollection: ^0.5
- phpoption/phpoption: ^1.7
- symfony/polyfill-php73: ^1.23
Requires (Dev)
- ext-pdo_sqlite: *
- dms/phpunit-arraysubset-asserts: ^0.3
- doctrine/orm: ^2.8
- doctrine/phpcr-odm: ^1.3|^2.0
- jackalope/jackalope-doctrine-dbal: ^1.1.5
- overtrue/phplint: 2.4.1|3.0.2
- phpstan/phpstan: 0.12.86
- phpunit/phpunit: 8.5.15
- psr/container: ^1.0
- rector/rector: 0.11.3
- symfony/dependency-injection: ^3.4|^4.0|^5.0
- symfony/expression-language: ^3.4|^4.0|^5.0
- symfony/filesystem: ^3.4|^4.0|^5.0
- symfony/form: ^3.4|^4.0|^5.0
- symfony/translation: ^3.4|^4.0|^5.0
- symfony/validator: ^3.4|^4.0|^5.0
- symfony/yaml: ^3.4|^4.0|^5.0
- twig/twig: ~1.12|~2.0
Suggests
- doctrine/cache: Required if you like to use cache functionality.
- doctrine/collections: Required if you like to use doctrine collection types as ArrayCollection.
- symfony/yaml: Required if you'd like to serialize data to YAML format.
Conflicts
- jms/metadata: >=2.0
- twig/twig: <1.12
Replaces
- jms/serializer: ^1.14
README
Learn more about it in its documentation.
A fork for modern days 
This is a fork of jms/serializer
at the version 1.14.1
adapted for modern PHP development, which supports :
- PHP
7.2
<->8.0
- Symfony
3.4
<->5.3
- Doctrine
2.8
<->2.9
The following changes were applied to the dev dependencies :
- PHPUnit upgraded to 8.x
- PHPStan baseline added to keep the code in good health
- Rector installed to ease automated refactorings
- Migrate Travis CI to GitHub Actions
BC break changes
- Doctrine dependency bumped from
~2.1
to^2.8
(because of namespaces changes) - Propel support was removed as
propel/propel1
is not working with PHP 8 :
PHP Fatal error:
Declaration of
PropelOnDemandCollection::asort()
must be compatible with
ArrayObject::asort(int $flags = SORT_REGULAR)
in vendor/propel/propel1/runtime/lib/collection/PropelOnDemandCollection.php on line 151