zero-to-prod/data-model
Type-safe PHP data models that hydrate from arrays/JSON via a single from($data) call. Uses reflection, type hints, and #[Describe] attributes for defaults, required/nullable rules, casting, and assignment—ideal for APIs, DB rows, and user input.
assign attribute with 1 and 4 parameter signatures by @zero-to-prod in #63assign attribute with 1 and 4 parameter signatures by @zero-to-prod in #63assign attribute to always set fixed property values by @zero-to-prod in #62assign attribute with 1 and 4 parameter signatures (#63) by david in 77f7af9feece6ebf8332970a79d198ee4ffe4545assign attribute to always set fixed property values by @zero-to-prod in #62assign attribute to always set fixed property values (#62) by david in 19c55f57f9673dca4bd473049d24ff2986b2a4c5docblock_update.yml for automating docblock updates. by David Smith in 2c069b6bc7426b99fc6c94191556863d2c45c5d5describe attribute handling by @zero-to-prod in #50describe attribute handling by @zero-to-prod in #50src/DataModel.php. by @zero-to-prod in #49describe attribute handling (#50) by david in 2e9424bef46d2fedc88fec277999aa0f99c678ebsrc/DataModel.php. by @zero-to-prod in #49src/DataModel.php. by @zero-to-prod in #48src/DataModel.php. (#49) by david in 38fc6f07cec8d1d4c70c725d569a87f5dd0c6529composer_require_checker.yml. by David Smith in e63f8ffec8344e0c98d299b272dca3ce16b870f1src/DataModel.php. by @zero-to-prod in https://github.com/zero-to-prod/data-model/pull/48Full Changelog: https://github.com/zero-to-prod/data-model/compare/v81.10.0...v81.10.1
Full Changelog: https://github.com/zero-to-prod/data-model/compare/v81.9.8...v81.10.0
src/DataModel.php. by @zero-to-prod in https://github.com/zero-to-prod/data-model/pull/46Full Changelog: https://github.com/zero-to-prod/data-model/compare/v81.9.5...v81.9.6
Full Changelog: https://github.com/zero-to-prod/data-model/compare/v81.9.4...v81.9.5
Full Changelog: https://github.com/zero-to-prod/data-model/compare/v81.9.3...v81.9.4
Full Changelog: https://github.com/zero-to-prod/data-model/compare/v81.9.0...v81.9.1
Full Changelog: https://github.com/zero-to-prod/data-model/compare/v81.8.2...v81.9.0
Full Changelog: https://github.com/zero-to-prod/data-model/compare/v81.8.1...v81.8.2
Full Changelog: https://github.com/zero-to-prod/data-model/compare/v81.8.0...v81.8.1
Full Changelog: https://github.com/zero-to-prod/data-model/compare/v81.7.0...v81.8.0
missing_as_null to nullable. by @zero-to-prod in https://github.com/zero-to-prod/data-model/pull/38
missing_as_null will still work.Full Changelog: https://github.com/zero-to-prod/data-model/compare/v81.6.9...v81.7.0
Full Changelog: https://github.com/zero-to-prod/data-model/compare/v81.6.5...v81.6.6
Full Changelog: https://github.com/zero-to-prod/data-model/compare/v81.6.3...v81.6.4
How can I help you explore Laravel packages today?