nilportugues/api-transformer
A flexible PHP package for transforming API responses into clean, consistent output. Define transformers to shape models and arrays, handle nested data, and serialize results for JSON APIs with minimal boilerplate and full control over the final payload.
nilportugues/api-transformer is a lightweight PHP package for turning domain objects and arrays into clean, consistent API responses. It lets you define reusable transformers, keeping controllers thin and presentation logic separate from business models—ideal for Laravel or any PHP application that needs predictable JSON output.
How can I help you explore Laravel packages today?