PHPackages                             acidjazz/metapi - 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. acidjazz/metapi

ActiveLibrary[API Development](/categories/api)

acidjazz/metapi
===============

Laravel API helpers

v2.4.0(1y ago)29168.0k↓20%5[2 PRs](https://github.com/fumeapp/metapi/pulls)MITPHPPHP ^8.1CI failing

Since Aug 20Pushed 1y ago2 watchersCompare

[ Source](https://github.com/fumeapp/metapi)[ Packagist](https://packagist.org/packages/acidjazz/metapi)[ Docs](https://github.com/acidjazz/metapi)[ RSS](/packages/acidjazz-metapi/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (48)Used By (0)

 [![](https://github.com/acidjazz/metapi/raw/master/logo.png)](https://github.com/acidjazz/metapi/raw/master/logo.png)

> Own your endpoint

metapi's main purpose is to help make sure your endpoint responses are consistent. By using the built in helper functions like `->option()...->verify`, `->render()`, `->success()` and `->error()` they will all share the same consistent standardized output reflecting the options available, parameters provided, and results.

[![Latest Stable Version](https://camo.githubusercontent.com/bcf0afbd53570587ca788e38544d801cda0fe1532b1e2035e630b905a5bee8f6/68747470733a2f2f706f7365722e707567782e6f72672f616369646a617a7a2f6d65746170692f76657273696f6e2e706e67)](https://packagist.org/packages/acidjazz/metapi)[![Total Downloads](https://camo.githubusercontent.com/52f8a32aaf159598fde26bcecb2499b267bcb60346815a0b5fbf4fbe8ab22199/68747470733a2f2f706f7365722e707567782e6f72672f616369646a617a7a2f6d65746170692f642f746f74616c2e706e67)](https://packagist.org/packages/acidjazz/metapi)[![codecov](https://camo.githubusercontent.com/08363085c95e76dfef2fc6175d9a0acd7fadbb365a08425685f83c3478d8436a/68747470733a2f2f636f6465636f762e696f2f67682f616369646a617a7a2f6d65746170692f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/acidjazz/metapi)

[![](https://github.com/acidjazz/metapi/raw/master/media/capture.png?raw=true)](https://github.com/acidjazz/metapi/blob/master/media/capture.png?raw=true)

> Dracula dark theme with laravel-debugbar

Features
--------

[](#features)

- Endpoint benchmarking
- Laravel Validation wrapper that reflects requirements
- Support for JSON and JSONP
- Interactive tree browsing with search thanks to [jsoneditor](https://github.com/josdejong/jsoneditor)
- Dracula Dark theme support to pair with [laravel-debugbar](https://github.com/barryvdh/laravel-debugbar)

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

[](#installation)

Install metapi with [composer](https://getcomposer.org/doc/00-intro.md):

```
composer require acidjazz/metapi
```

Add the trait

> (`app/Http/Controllers/Controller.php` is recommended)

```
