adamczykpiotr/laravel-make-transformer

This package is abandoned and no longer maintained. No replacement package was suggested.

Laravel 7.x package to add artisan method `make:transformer ClassTransformer`

Installs: 200

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 4

pkg:composer/adamczykpiotr/laravel-make-transformer

v2.0 2020-09-01 13:33 UTC

This package is auto-updated.

Last update: 2023-12-09 12:03:35 UTC


README

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.