PHPackages                             yarull/api\_helpers - 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. yarull/api\_helpers

ActiveLibrary[API Development](/categories/api)

yarull/api\_helpers
===================

API helpers

v0.1.3(6y ago)0454MITPHPPHP &gt;=7.0.0

Since Mar 13Pushed 6y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (5)Used By (0)

api\_helpers
============

[](#api_helpers)

#### Installation

[](#installation)

`composer require yarull/api_helpers`

#### Add this line to your conf/app.php file

[](#add-this-line-to-your-confappphp-file)

`'JSONResponse' => Yarull\ApiHelpers\Facades\JSONResponse::class in config/app.php`

##### Usage

[](#usage)

```
\JSONResponse::ok([$array_data])
Return 200 status and an array called data with $array_data value.

\JSONResponse($error_code,$error_message);
Return an error response with the specified code and message

\JSONResponse::exist($obj,$obj_name);
$obj_name is not required
If $obj is null stop and return an error 404

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Total

4

Last Release

2239d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2778fac47d9c87dfa09311b37b07c1caeb344d908a67fc37da6981ec8bb10e7f?d=identicon)[yarull](/maintainers/yarull)

---

Top Contributors

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

---

Tags

apihelpers

### Embed Badge

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

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

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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