opensoft/simple-serializer
opensoft/simple-serializer is a lightweight PHP serializer for turning objects and Eloquent models into arrays or JSON. Define attributes once and produce consistent, predictable API payloads with minimal boilerplate and configuration.
opensoft/simple-serializer is a lightweight PHP package that gives you a clean, predictable way to turn Eloquent models and plain objects into arrays or JSON. Instead of scattering toArray() overrides across your codebase, you define a dedicated serializer for each model—keeping presentation logic separate from your domain and making output easy to test and reuse.
How can I help you explore Laravel packages today?