Download the PHP package mochaka/serialization-parser without Composer
On this page you can find all versions of the php package mochaka/serialization-parser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mochaka/serialization-parser
More information about mochaka/serialization-parser
Files in mochaka/serialization-parser
Package serialization-parser
Short Description This is my package serialization-parser
License MIT
Homepage https://github.com/mochaka/serialization-parser
Informations about the package serialization-parser
serialization-parser
Parse PHP serialized strings into rich, structured objects — fast, simple, and flexible.
serialization-parser is a PHP package that parses serialized data into a structured, lightweight AST (Abstract Syntax Tree) format.
Each value is converted into a specific typed object (ArrayType
, StringType
, IntegerType
, etc.), with an option to easily export the structure as a plain array.
Installation
You can install the package via composer:
Usage
The above result will be an instance of Mochaka\SerializationParser\Data\ArrayType
:
All types also have a ->toArray()
method to dump the schema as an array.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- Aaron Florey
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of serialization-parser with dependencies
illuminate/contracts Version ^10.0||^11.0||^12.0
spatie/laravel-package-tools Version ^1.16