PHPackages                             maycon-oliveira/simple-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. maycon-oliveira/simple-response

ActiveLibrary[API Development](/categories/api)

maycon-oliveira/simple-response
===============================

Simple Api Response Library

0.0.1(3y ago)013MITPHP

Since Oct 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/maycon-ricardo-oliveira/simple-response)[ Packagist](https://packagist.org/packages/maycon-oliveira/simple-response)[ RSS](/packages/maycon-oliveira-simple-response/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

About
-----

[](#about)

This is a simple project with the proposition to be a lib for apis and easy to develop. Principal use in your Laravel Project

### To use in your project:

[](#to-use-in-your-project)

First needed to install the library, run follow command:

- `composer require mayconoliveira/simple-response`

To use in your Laravel Project, follow steps:
---------------------------------------------

[](#to-use-in-your-laravel-project-follow-steps)

on `App\Http\Controllers\Controller`;

Insert in your constructor this code

```
protected $response;

public function __construct()
{
    $this->response = new ApiResponse();
}

```

After this All Your controllers with extends Controller can access ApiResponse methods

```
class ExampleController extends Controller
{
    public function example()
    {
        return $this->response->successResponse('data');
    }
}

```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

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

Unknown

Total

1

Last Release

1299d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cde7e43d7c08dd49a389982aaa36bca3c468596560a421319b0044eec377bea3?d=identicon)[maycon-ricardo-oliveira](/maintainers/maycon-ricardo-oliveira)

---

Top Contributors

[![maycon-ricardo-oliveira](https://avatars.githubusercontent.com/u/33491353?v=4)](https://github.com/maycon-ricardo-oliveira "maycon-ricardo-oliveira (3 commits)")

### Embed Badge

![Health badge](/badges/maycon-oliveira-simple-response/health.svg)

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

###  Alternatives

[esign/laravel-conversions-api

A laravel wrapper package around the Facebook Conversions API

69145.4k](/packages/esign-laravel-conversions-api)[ryangjchandler/bearer

Minimalistic token-based authentication for Laravel API endpoints.

8129.8k](/packages/ryangjchandler-bearer)[dragon-code/laravel-json-response

Automatically always return a response in JSON format

1118.6k1](/packages/dragon-code-laravel-json-response)[spatie/spatie-price-api

The Price API used at promotional sites for our own products

1515.1k1](/packages/spatie-spatie-price-api)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

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