prolix/serializer
A PHP/Laravel serializer that converts models, objects, and nested data into arrays or JSON, with configurable rules for controlling output—useful for APIs, exports, and consistent data transformation across your application.
prolix/serializer is a lightweight serialization layer for Laravel and PHP applications, providing a consistent way to transform models, collections, and plain objects into arrays or JSON responses. It keeps presentation logic out of your models, letting you define reusable serializers that control exactly which attributes are exposed and how nested relationships are rendered across your API.
How can I help you explore Laravel packages today?