Library PHP Tek 2025 Serializing modern PHP
Serializing modern PHP

Log in to watch this talk

You need to be logged in to access this video. If you don't have an account, purchase a virtual pass for the latest php[tek] conference to get access to the full video library.

Serializing modern PHP

Larry Garfield Larry Garfield PHP Tek 2025 Intermediate (some prior knowledge necessary) Standard (50 minutes)

In 2021, I was tasked with building a new serialization system for TYPO3. The result was a trio of new, general-purpose libraries that demonstrate the power and flexibility of the modern PHP language: FP, AttributeUtils, and Serde. In this session, we'll start with an overview of the plethora of potential PHP processes for handling serialized data, and show their pros and cons. We'll then transition into talking about Serde and what goes into a modern PHP 8-centric serialization framework, before showing novel ways to use serialization tools. Along the way, we'll touch on the power of PHP attributes, and how AttributeUtils makes them even more powerful.