PHPackages                             purwandi/responder - 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. purwandi/responder

ActiveLibrary[API Development](/categories/api)

purwandi/responder
==================

Transform your laravel eloquent model using fluent fractal API

080PHP

Since Aug 23Pushed 9y ago1 watchersCompare

[ Source](https://github.com/purwandi/responder)[ Packagist](https://packagist.org/packages/purwandi/responder)[ RSS](/packages/purwandi-responder/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Responder
=================

[](#laravel-responder)

TLDR ;)

Installation
------------

[](#installation)

Install the package through Composer:

```
composer require purwandi/responder
```

### Laravel

[](#laravel)

#### Registering the Service Provider

[](#registering-the-service-provider)

After updating Composer, append the following service provider to the providers `key` in `config/app.php`

```
Purwandi\Responder\ResponderServiceProvider::class
```

#### Registering the Facade

[](#registering-the-facade)

If you like facades you may also append the `Responder` facade to the `aliases` key:

Usage
-----

[](#usage)

#### Using Facade

[](#using-facade)

Optionally, you may use the `Responder` facade to create responses:

```
return Responder::success($users);
```

#### Including Data

[](#including-data)

```
return Responder::with('blog')->success($users);
```

```
return Responder::with('blog', 'blog.comment')->success($users);
```

Credit
------

[](#credit)

1. [Fractal](https://github.com/thephpleague/fractal)
2. [Laravel Responder](https://github.com/flugger/laravel-responder)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1058672?v=4)[purwandi](/maintainers/purwandi)[@purwandi](https://github.com/purwandi)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/purwandi-responder/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k12](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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