PHPackages                             sanmark/laravel-standard-json-responses - 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. sanmark/laravel-standard-json-responses

ActiveLibrary[API Development](/categories/api)

sanmark/laravel-standard-json-responses
=======================================

Library for preparing standardized JSON responses for REST APIs.

v1.5.0(5y ago)02.2k[1 issues](https://github.com/sanmark/laravel-standard-json-responses/issues)MITPHPCI failing

Since Mar 5Pushed 5y ago3 watchersCompare

[ Source](https://github.com/sanmark/laravel-standard-json-responses)[ Packagist](https://packagist.org/packages/sanmark/laravel-standard-json-responses)[ RSS](/packages/sanmark-laravel-standard-json-responses/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (8)Used By (0)

Sanmark Laravel Standard JSON Responses
=======================================

[](#sanmark-laravel-standard-json-responses)

Development Guide
-----------------

[](#development-guide)

1 - Create a Laravel application. We'll refer to this as the "Scaffolding Laravel Application" (SLA).

2 - In SLA's root, create directory `packages/sanmark`.

3 - Clone this repository into that directory.

4 - To the SLA's `composer.json` file's `autoload.psr-4` section, add the following:

```
"Sanmark\\LaravelStandardJsonResponses\\": "packages/sanmark/laravel-standard-json-responses/src"

```

5 - To the SLA's `config/app.php` file's `providers` section, add the following:

```
Sanmark\LaravelStandardJsonResponses\LaravelStandardJsonResponsesServiceProvider::class,

```

6 - Setup PHP CS Fixer.

- Install Composer package `friendsofphp/php-cs-fixer` on SLA.
- Create a symlink to the `.php_cs.dist` file in the SLA's root.
- To run PHP CS Fixer, issue the command `./vendor/bin/php-cs-fixer fix` from SLA's root.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Recently: every ~146 days

Total

6

Last Release

1848d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/853a75590e2623fee9a1f47354a7a0e77b58381c5349034da2d426f8092d35ee?d=identicon)[budhajeewa](/maintainers/budhajeewa)

![](https://www.gravatar.com/avatar/393d12dd591b86e3122e1b4c1d2d38c640599a19bf60a9f274ddd48300430340?d=identicon)[jwranga](/maintainers/jwranga)

### Embed Badge

![Health badge](/badges/sanmark-laravel-standard-json-responses/health.svg)

```
[![Health](https://phpackages.com/badges/sanmark-laravel-standard-json-responses/health.svg)](https://phpackages.com/packages/sanmark-laravel-standard-json-responses)
```

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M112](/packages/darkaonline-l5-swagger)[echolabsdev/prism

A powerful Laravel package for integrating Large Language Models (LLMs) into your applications.

2.3k388.3k10](/packages/echolabsdev-prism)[sburina/laravel-whmcs-up

WHMCS API client and user provider for Laravel

271.3k](/packages/sburina-laravel-whmcs-up)

PHPackages © 2026

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