PHPackages                             metricloop/laravel-transformer-maker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. metricloop/laravel-transformer-maker

AbandonedArchivedLibrary[API Development](/categories/api)

metricloop/laravel-transformer-maker
====================================

A Laravel 5 package to create Fractal Transformers

v1.0.5(7y ago)287.9k↓50%4MITPHPPHP ^7.0

Since Sep 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/MetricLoop/laravel-transformer-maker)[ Packagist](https://packagist.org/packages/metricloop/laravel-transformer-maker)[ Docs](https://github.com/metricloop/laravel-transformer-maker)[ RSS](/packages/metricloop-laravel-transformer-maker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (7)Used By (0)

A quick way to create Fractal Transformers
==========================================

[](#a-quick-way-to-create-fractal-transformers)

[![Latest Version](https://camo.githubusercontent.com/1230921873f5a40c4c3c885b1ca94bf547eb9aa1775217c8c4e04a7f9d09f8b1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6d65747269636c6f6f702f6c61726176656c2d7472616e73666f726d65722d6d616b65722e7376673f7374796c653d666c61742d737175617265)](https://github.com/metricloop/laravel-transformer-maker/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/255ee90794587804c62739ea37123f23124167debc186c92210051ca5f9d1202/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d65747269636c6f6f702f6c61726176656c2d7472616e73666f726d65722d6d616b65722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/metricloop/laravel-transformer-maker)[![Total Downloads](https://camo.githubusercontent.com/ece8070ef0883270045fbde6f7f80a0af055440ae801e8418481814788f59673/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d65747269636c6f6f702f6c61726176656c2d7472616e73666f726d65722d6d616b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/metricloop/laravel-transformer-maker)

This package gives you a quick way to create [Transformers](http://fractal.thephpleague.com/transformers/) for your Eloquent models when using [Fractal](http://fractal.thephpleague.com/).

Installation And Usage
----------------------

[](#installation-and-usage)

Issue the command:

```
composer require "metricloop/laravel-transformer-maker"

```

Then register the service provider:

```
// config/app.php

'providers' => [
    // ...
    MetricLoop\TransformerMaker\TransformerMakerServiceProvider::class,
];

```

Then just use it like any other Artisan `make` command:

```
php artisan make:transformer Person

```

And get the stubbed out `PersonTransformer.php` in `App/Transformers`!

Shout Out
---------

[](#shout-out)

To Phil Sturgeon and the team at the PHP League for Fractal. And if you haven't already, go check out Phil's book about building APIs: [Build APIs You Won't Hate](https://apisyouwonthate.com/).

About Metric Loop
-----------------

[](#about-metric-loop)

Metric Loop is an Austin based technology company that strives to create value by helping its clients reduce overhead, simplify their hardware procurement, and run their businesses more efficiently.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~151 days

Recently: every ~189 days

Total

6

Last Release

2752d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6aa161494f7f8da8af098819c825d5920c46be6485421ce8c14c153042e8a05d?d=identicon)[patrick\_guevara](/maintainers/patrick_guevara)

---

Top Contributors

[![patrickguevara](https://avatars.githubusercontent.com/u/12223472?v=4)](https://github.com/patrickguevara "patrickguevara (3 commits)")[![shopapps](https://avatars.githubusercontent.com/u/8806928?v=4)](https://github.com/shopapps "shopapps (3 commits)")[![svenluijten](https://avatars.githubusercontent.com/u/11269635?v=4)](https://github.com/svenluijten "svenluijten (2 commits)")

---

Tags

fractallaravelapitransformerfractalmetricloop

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/metricloop-laravel-transformer-maker/health.svg)

```
[![Health](https://phpackages.com/badges/metricloop-laravel-transformer-maker/health.svg)](https://phpackages.com/packages/metricloop-laravel-transformer-maker)
```

###  Alternatives

[flugger/laravel-responder

A Laravel Fractal package for building API responses, giving you the power of Fractal and the elegancy of Laravel.

8901.5M4](/packages/flugger-laravel-responder)[spatie/laravel-fractal

An easy to use Fractal integration for Laravel applications

1.9k15.1M98](/packages/spatie-laravel-fractal)[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[saloonphp/laravel-plugin

The official Laravel plugin for Saloon

765.7M124](/packages/saloonphp-laravel-plugin)[cyvelnet/laravel5-fractal

A simple fractal service provider and transformer generator with model attributes for laravel &gt;=5.

79187.2k1](/packages/cyvelnet-laravel5-fractal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
