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(7y 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 2d 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 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

2634d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18675685?v=4)[amani64](/maintainers/amani64)[@amani64](https://github.com/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

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[nuwave/lighthouse

A framework for serving GraphQL from Laravel

3.5k12.2M128](/packages/nuwave-lighthouse)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

79227.1M228](/packages/laravel-mcp)[api-platform/laravel

API Platform support for Laravel

58190.1k21](/packages/api-platform-laravel)[ovac/idoc

Generate beautiful API documentation from your Laravel application

185487.0k2](/packages/ovac-idoc)[hasinhayder/tyro-dashboard

Tyro Dashboard - Beautiful admin dashboard for managing Tyro roles, privileges, users, and settings

5495.1k](/packages/hasinhayder-tyro-dashboard)

PHPackages © 2026

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