PHPackages                             pickmap/response - 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. pickmap/response

AbandonedArchivedLibrary[API Development](/categories/api)

pickmap/response
================

A Responder for all REST FULL api outputs

0.2.0(2y ago)25791MITPHP

Since Aug 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Visapick-Team/responder)[ Packagist](https://packagist.org/packages/pickmap/response)[ RSS](/packages/pickmap-response/feed)WikiDiscussions main Synced yesterday

READMEChangelog (2)Dependencies (1)Versions (3)Used By (1)

About Responder
---------------

[](#about-responder)

Most of the time we need the same output structure for all REST FULL API responses.

In this package, based on the rules of the link below (jsend), you can send your response in a standard way

TypeDescriptionRequired KeysOptional KeyssuccessAll went well, and (usually) some data was returned.status, datafailThere was a problem with the data submitted, or some pre-condition of the API call wasn't satisfiedstatus, dataerrorAn error occurred in processing the request, i.e. an exception was thrownstatus, messagecode, data### How to use this package ?

[](#how-to-use-this-package-)

### step #1

[](#step-1)

Install the package with the following command

```
composer require pickmap/response

```

### step #3

[](#step-3)

Go to this path in your Laravel project app/Exceptions/Handler.php and put this codes

```
use Pickmap\Responder\Res;
```

```
public  function  render($request, Throwable  $e)
{
	if ($e  instanceof  ModelNotFoundException)
	{
		return  Res::error('not found',null,404);
	}
	elseif ($e  instanceof  ValidationException)
	{
		return  Res::error($e->getMessage(),null,422);
	}

	return  parent::render($request, $e);
}
```

### step #3

[](#step-3-1)

now you can use like this

```
Res::success($objectData);
Res::success($arrayData,201);
Res::error('create faild');
Res::error('new error',419);
Res::fail($data);
Res::response($status,$message,$data,$code);
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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 ~25 days

Total

2

Last Release

1034d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/46676671?v=4)[Alireza Salehi](/maintainers/SalehiAlireza)[@SalehiAlireza](https://github.com/SalehiAlireza)

---

Top Contributors

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

---

Tags

responsephplaravelMicroservicejsend

### Embed Badge

![Health badge](/badges/pickmap-response/health.svg)

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

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k9.5M89](/packages/openai-php-laravel)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

3.0k37.6M134](/packages/darkaonline-l5-swagger)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k14.2M63](/packages/knuckleswtf-scribe)[mozex/anthropic-laravel

Laravel integration for the Anthropic API: facade, config publishing, install command, testing fakes, messages, streaming, tool use, thinking, and batches.

74331.3k1](/packages/mozex-anthropic-laravel)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

783.8k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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