brick/varexporter
Prettier, safer alternative to PHP var_export(). Exports variables as standalone executable PHP code (no runtime dependency) with short array syntax, cleaner numeric arrays, and support for closures and custom objects beyond __set_state(), ideal for fast OPcache-friendly caching.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sebastian/exporter | 0.85 | Exports PHP variables into readable, stable string representations for visualization and debugging. Handles scalars, arrays, objects, resources, binary strings, and recursive references, producing clear output useful in test failures and developer tooling. | 6,822 | 6,831 | 39 | 15M | 1 | 52.2 | 53.9 | BSD-3-Clause | 1 week ago | |
| symfony/var-exporter | 0.85 | Exports serializable PHP values to fast, OPcache-friendly PHP code, preserving serialization semantics and references. Includes DeepCloner for efficient deep cloning and ProxyHelper to generate lazy-loading proxies; uses ext-deepclone (or polyfill) for speed. | 2,099 | 2,110 | 6 | 10M | 0 | 42.1 | 59.1 | MIT | 3 weeks ago | |
| botanick/serializer | 0.84 | Laravel/PHP serializer package for converting objects and arrays to structured formats and back. Aims to simplify data transformation with configurable normalization/denormalization for APIs, DTOs, and persistence layers. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| alexacrm/strong-serializer | 0.83 | Laravel/PHP utility for robust object/array serialization with strong typing and predictable output. Helps convert data structures for APIs, storage, or transport with configurable serializers and safer handling of nested values. | 1 | 1 | 1 | 11K | 0 | 0.0 | 52.2 | — | — | |
| nilportugues/serializer-eloquent | 0.83 | Eloquent ORM driver for nilportugues/serializer. Serialize Laravel/Eloquent models and their relationships into the Serializer library’s normalized array format, handling common Eloquent edge cases so you can reuse one consistent serialization layer across your app. | 5 | 5 | 7 | 15 | 2 | 4.6 | 7.9 | MIT | 9 years ago | |
| yiisoft/var-dumper | 0.82 | Yii VarDumper enhances var_dump()/var_export() with safe handling of recursive references, syntax highlighting, and closure export. Includes handy d(), dump(), and dd() helpers for quick debugging. Configurable depth and highlighting. | 21 | 21 | 13 | 53K | 4 | 11.0 | 50.6 | BSD-3-Clause | 7 months ago | |
| typhoon/exporter | 0.82 | Typhoon Exporter converts PHP values into valid PHP code strings you can save and later require to recreate the original value. Use Exporter::export($value) to generate code for config, fixtures, caching, or code generation workflows. | 6 | 6 | 1 | 68 | 0 | 1.1 | 14.2 | MIT | 2 years ago | |
| brick/geo | 0.81 | brick/geo is a PHP geometry library for working with points, lines, polygons, and other shapes. Provides common spatial operations, parsing/formatting, and robust value objects to model geo data cleanly in applications and services. | 250 | 251 | 33 | 184K | 6 | 13.0 | 41.2 | MIT | 1 year ago |
How can I help you explore Laravel packages today?