laravel-make-transformer maintained by adamczykpiotr
Description
Laravel 7.x package to add artisan method `make:transformer ClassTransformer`
Authors
Last update
2020/09/01 16:29
(dev-master)
License
Downloads
200
Tags
Most convenient way of creating Transformers
This very package makes generating transformers using fractal in the fastest possible way.
Key features
✔️ Laravel 5.x / 6.x / 7.x support
✔️ Automatic provider discovery
✔️ Transformer array based on model fields
Installation
Simply type:
composer require adamczykpiotr/laravel-make-transformer
Usage:
php artisan make:transformer ClassTransformer
where Class is your class name
License
The MIT License (MIT). Please see License File for more information.