Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 641f309

Browse files
Update README.md
1 parent 06c5b89 commit 641f309

File tree

1 file changed

+14
-1
lines changed

1 file 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
- [完整文档-中文](./docs/zh/README.md)
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 `#[SerializedName]`
20+
- 🔄 Automatic type casting (e.g. `DateTime ↔ string`)
21+
- 🔁 Deep object nesting support
22+
- ❌ Skip/exclude fields with `#[Skip]`
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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /