PHPackages                             amani64/api - 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. amani64/api

ActiveLibrary[API Development](/categories/api)

amani64/api
===========

Resuful response package for laravel with Fractal transformer

1.8.2(6y ago)011BSD-3-ClausePHPPHP ^7.0

Since May 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/amani64/api)[ Packagist](https://packagist.org/packages/amani64/api)[ RSS](/packages/amani64-api/feed)WikiDiscussions master Synced 4d ago

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

Restful response package
------------------------

[](#restful-response-package)

This package provide you restful json response.

Documentation
-------------

[](#documentation)

Create Factory class: `$factory =  app(Factory::class);`

Set custom serializer:

`$factory->transformer()->getAdapter()->setSerializer($serializer);`

In your Controller:

`return $factory->collection($collection, MyTransformer::class, ['identifier'=> 'myData'])`

License
-------

[](#license)

This package is licensed under the [BSD 3-Clause license](http://opensource.org/licenses/BSD-3-Clause).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Every ~1 days

Total

4

Last Release

2540d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d5d1ef0482f63726896e3d1c148078172ad3be04c4ffe6d3307d63032977c60?d=identicon)[amani64](/maintainers/amani64)

---

Top Contributors

[![amani64](https://avatars.githubusercontent.com/u/18675685?v=4)](https://github.com/amani64 "amani64 (27 commits)")

---

Tags

apilaravelrestfulfractal

### Embed Badge

![Health badge](/badges/amani64-api/health.svg)

```
[![Health](https://phpackages.com/badges/amani64-api/health.svg)](https://phpackages.com/packages/amani64-api)
```

###  Alternatives

[api-ecosystem-for-laravel/dingo-api

A RESTful API package for the Laravel and Lumen frameworks.

3121.5M10](/packages/api-ecosystem-for-laravel-dingo-api)

PHPackages © 2026

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