ion

pecl install ion

Amazon ION support

This PHP extension provides support for the Amazon ION serialization format.
https://awesomized.github.io/ext-ion/

Maintainer

  • Michael Wallner (lead )

Details

Stars: 6
Issue openned: 3
Downloads: 8259
0.2.0
2 years ago
Version 0.2.0 change log


* Improved documentation.
* Upgrade bundled ion-c library.
* Fix gh-issue #5: ion\Timestamp crashes with string timezones.
* Add ion\Exception.
* Refactor (un)serialization facilities:
* Removed ion\Reader\Options class and moved the options to the ion\Reader constructor.
* Removed ion\Writer\Options class and moved the options to the ion\Writer constructor.
* Renamed ion\Serializer\PHP to ion\Serializer\Serializer.
* Renamed ion\Unserializer\PHP to ion\Unserializer\Unserializer.
* Changed ion\Serializer::serialize(mixed $data) to
ion\Serializer::serialize(mixed $data, ion\Writer|array|null $writer = null).
* Changed ion\Unserializer::unserialize(string|resource $data) to
ion\Unserializer::unserialize(ion\Reader|string|resource $data)
* Add support for custom (un)serializers.

requires:

  • php >=8.1.0
  • pearinstaller >=1.4.1