Skip to content

Commit 531211f

Browse files
committed
Merge branch 'master' into featrue/open-api
# Conflicts: # docs/.gitbook.yaml # docs/SUMMARY.md # docs/base-mapper.md # docs/description.md # docs/getting-started.md
2 parents 7719415 + bb6c486 commit 531211f

File tree

7 files changed

+14
-1
lines changed

7 files changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,21 @@
88
- [完整文档-中文](https://astrals-organization.gitbook.io/php-serialize)
99

1010
# php-serialize
11-
An advanced PHP serialization tool leveraging attributes for flexible object-to-array and JSON conversion. Supports property aliases, type conversions, and nested object handling. Ideal for APIs, data persistence, and configuration management.
1211

12+
**php-serialize** is a powerful attribute-based serialization library for PHP (requires **PHP ≥ 8.1**).
13+
It allows you to map objects to arrays/JSON and **automatically generate OpenAPI documentation** based on the same attributes.
14+
15+
> 🚀 Unified solution for API data serialization and documentation generation.
16+
17+
## ✨ Features
18+
19+
- 🏷️ Property aliasing with
20+
- 🔄 Automatic type casting (e.g. `DateTime ↔ string`)
21+
- 🔁 Deep object nesting support
22+
- ❌ Skip/exclude fields with
23+
- 🧩 Recursive DTO serialization
24+
- 🧬 **Auto-generate OpenAPI schema** using object definitions
25+
- ⚙️ Framework-agnostic — works with Laravel, Symfony, etc.
1326

1427
## Quick Start
1528

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)