looqey/speca
最新稳定版本:1.1.3
Composer 安装命令:
composer require looqey/speca
包简介
Describe your specs through expressive data classes
README 文档
README
Speca is a flexible and powerful implementation of data classes designed for seamless interaction with external systems (such as API DTOs) and efficient data flow management across different domains. Inspired by domain-driven design (DDD) principles, Speca provides a structured and adaptable approach to handling data transformations.
Why Speca?
- Automatic property population – No more manual assignments. Speca maps input arrays directly to object properties.
- Attribute-based parsing and serialization – Fine-tune how data is handled using PHP attributes.
- Lazy properties – Optimize performance by loading data only when needed.
- No external dependencies – Speca is built purely on PHP's native capabilities, ensuring compatibility and minimal footprint.
With Speca, data structures become more than just objects—they represent specifications, defining how data is parsed, transformed, and serialized across your application.
Installation
Install Speca via Composer:
composer require looqey/speca
Documentation 📖
For a detailed guide on using this library, visit the 👉 official documentation
Contributing 🤝
We welcome contributions! If you have ideas, improvements, or find an issue, feel free to open an issue or submit a pull request. Your feedback and contributions help make Speca even better! 🚀
Let's shape the future of PHP data handling together! 💡🚀
统计信息
- 总下载量: 86
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-02-16