Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Igbinary

Security covered Under active development 337 sites

Igbinary provides a faster and more space-efficient serialization method for PHP data structures by using a compact binary format instead of text. This can significantly reduce storage needs and improve performance, especially when used with memory-based storage solutions.

Igbinary is a drop in replacement for the standard php serializer. Instead of time and space consuming textual representation, igbinary stores php data structures in compact binary form. Savings are significant when using memcached or similar memory based storages for serialized data. About 50% reduction in storage requirement can be expected. Specific number depends on your data.

Unserialization performance is at least on par with the standard PHP serializer. Serialization performance depends on the "compact_strings" option which enables duplicate string tracking. String are inserted to a hash table which adds some overhead. In usual scenarios this does not have much significance since usage pattern is "serialize rarely, unserialize often". With "compact_strings" option igbinary is usually a bit slower than the standard serializer. Without it, a bit faster.

Issue to get Igbinary support directly in Core!: #3014514: Make igbinary the default serializer, if available

Issue to get compression support directly in Core!: #1281408: Add a compressing serializer decorator

Features

PHP serialization is heavily used within Drupal. Drupal 8 introduced serialization services that could be swapped. This module offers igbinary based serialization services.

Requirements

This module requires the following libraries:

Installation

See the README.md for installation instructions and more implementation details.

Ask your assistant about Igbinary

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Dec 2024
Latest release
2 months ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.0-alpha3 Pre-release 10–11 Jul 17, 2026
2.0.0-alpha2 Pre-release 10–11 Dec 30, 2024
2.0.0-alpha1 Pre-release 9–10 Dec 30, 2024