PHPackages                             embergrep/fractal-ember - 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. embergrep/fractal-ember

ActiveLibrary[API Development](/categories/api)

embergrep/fractal-ember
=======================

A set of serializers for building Ember ready APIs using Fractal

0.1.0(10y ago)1278MITPHPPHP &gt;=5.3.0

Since Sep 24Pushed 10y ago1 watchersCompare

[ Source](https://github.com/EmberGrep/fractal-ember)[ Packagist](https://packagist.org/packages/embergrep/fractal-ember)[ Docs](https://github.com/embergrep/fractal-ember)[ RSS](/packages/embergrep-fractal-ember/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

League Skeleton
===============

[](#league-skeleton)

[![Latest Version](https://camo.githubusercontent.com/3f06d4cb008c6ae9d456e709be236e71465c7cb2ffc3dfa91285e522a5e6a3f8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f656d626572677265702f6672616374616c2d656d6265722e7376673f7374796c653d666c61742d737175617265)](https://github.com/embergrep/fractal-ember/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/b57893b5a012e7620d4eb1d8101c29c0425dfbc6d1b9ecc01849b388010390bc/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f656d626572677265702f6672616374616c2d656d6265722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/embergrep/fractal-ember)[![Coverage Status](https://camo.githubusercontent.com/1c04be055fb6296c0469ebf922cbb970eb06706bb33d5f9e916139c32c5c6eba/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f656d626572677265702f6672616374616c2d656d6265722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/embergrep/fractal-ember/code-structure)[![Quality Score](https://camo.githubusercontent.com/e867303bb8dde54c21eeccc7762dfe0142b906966b0546d04abf90f5d7357b55/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f656d626572677265702f6672616374616c2d656d6265722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/embergrep/fractal-ember)[![Total Downloads](https://camo.githubusercontent.com/26adb243c292a3e73bfb06e86553f4b0567ca9557906b947e34338ca4693390c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656d626572677265702f6672616374616c2d656d6265722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/embergrep/fractal-ember)

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Install
-------

[](#install)

Via Composer

```
$ composer require embergrep/fractal-ember
```

Usage
-----

[](#usage)

```
use Acme\Model\Book;
use Acme\Transformer\BookTransformer;
use League\Fractal\Manager;
use League\Fractal\Resource\Item;
use Embergrep\Serializers\EmberSerializer;

$manager = new Manager();
$manager->setSerializer(new EmberSerializer());

// Some sort of ORM call
$book = Book::find(1);

// Make a resource out of the data and
$resource = new Item($book, new BookTransformer(), 'book');

// Run all transformers
$manager->createData($resource)->toArray();

// Outputs:
// [
//     'book' => [
//         'id' => 'Foo',
//         'title' => 'Foo',
//         'year' => 1991,
//     ],
//     'authors' => [
//         [
//             'id' => 'Baz',
//             'name' => 'Walter',
//     ],
// ];
```

Testing
-------

[](#testing)

```
$ phpunit
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/embergrep/fractal-ember/blob/master/CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Ryan Tablada](https://github.com/rtablada)
- [All Contributors](https://github.com/embergrep/fractal-ember/contributors)

License
-------

[](#license)

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

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Unknown

Total

1

Last Release

3880d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ea9ccd400c74151601341e320935a31d1a9779c5eb49a8f364bc7a0ac75baa32?d=identicon)[rtablada](/maintainers/rtablada)

---

Top Contributors

[![rtablada](https://avatars.githubusercontent.com/u/2532004?v=4)](https://github.com/rtablada "rtablada (3 commits)")

---

Tags

apiserializetransformerember

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/embergrep-fractal-ember/health.svg)

```
[![Health](https://phpackages.com/badges/embergrep-fractal-ember/health.svg)](https://phpackages.com/packages/embergrep-fractal-ember)
```

###  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)[yajra/laravel-datatables-fractal

Laravel DataTables Fractal Plugin.

966.9M29](/packages/yajra-laravel-datatables-fractal)[cyvelnet/laravel5-fractal

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

79187.2k1](/packages/cyvelnet-laravel5-fractal)[nilportugues/laravel5-json-api

Laravel 5 JSON API Transformer Package

31232.4k1](/packages/nilportugues-laravel5-json-api)[nilportugues/jsonapi-bundle

Symfony 2 &amp; 3 JSON API Transformer Package

11446.0k](/packages/nilportugues-jsonapi-bundle)[nilportugues/json-api

Serializer transformers outputting valid API responses in JSON, JSON API and HAL+JSON API formats.

70106.2k3](/packages/nilportugues-json-api)

PHPackages © 2026

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