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

ActiveLibrary[API Development](/categories/api)

satheez/api-response
====================

Standard API response class

v1.1(3y ago)03[4 PRs](https://github.com/Satheez/api-response/pulls)MITPHPPHP ^8.1

Since Jul 23Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Satheez/api-response)[ Packagist](https://packagist.org/packages/satheez/api-response)[ Docs](https://github.com/satheez/api-response)[ RSS](/packages/satheez-api-response/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (13)Versions (7)Used By (0)

[![](https://camo.githubusercontent.com/2bedf63f24cda7efab02da955dc11fb7ef8a060e2f26b73c33a7aac84529b8a3/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f737570706f72742d756b7261696e652e7376673f743d31)](https://supportukrainenow.org)

Standard API response class
===========================

[](#standard-api-response-class)

[![Latest Version on Packagist](https://camo.githubusercontent.com/43ef31904fb56963eb2411c653ab19314d5baa7891d61057ba10f4ca95f476e2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7361746865657a2f6170692d726573706f6e73652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/satheez/api-response)[![GitHub Tests Action Status](https://camo.githubusercontent.com/3a88688417c61529af282fb6c8826afb7bf47d5fa4644e9e915d5f2985ac3220/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7361746865657a2f6170692d726573706f6e73652f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/satheez/api-response/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/92253a93b8cad9240f7682ce279e67aba89d9e1fb0b0becf926bd8afee040fe0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7361746865657a2f6170692d726573706f6e73652f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/satheez/api-response/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/449c87782ed73f19e9ef5fb0c9eed23df3fd1597b1cfb6e705abd8fef7dcb751/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7361746865657a2f6170692d726573706f6e73652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/satheez/api-response)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

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

[](#installation)

You can install the package via composer:

```
composer require satheez/api-response
```

You can publish the config file with:

```
php artisan vendor:publish --tag="api-response-config"
```

Usage
-----

[](#usage)

Example

```
