Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/asvae/laravel-api-tester

Test your routes without hassle
https://github.com/asvae/laravel-api-tester

Last synced: 7 days ago
JSON representation

Test your routes without hassle

Awesome Lists containing this project

README

        

# Laravel Api Tester

[![Unit tests](https://travis-ci.org/asvae/laravel-api-tester.svg?branch=master)](https://travis-ci.org/asvae/laravel-api-tester)
[![PHP version](https://badge.fury.io/ph/asvae%2Flaravel-api-tester.svg)](https://badge.fury.io/ph/asvae%2Flaravel-api-tester)

![Interface](http://i.imgur.com/3geJtzb.png)

## Live demo
Try it out: [laravel-api-tester.asva.by](http://laravel-api-tester.asva.by/)

## Docs
Those are short and easy to read. Take a look.
* [Interface](https://github.com/asvae/laravel-api-tester/wiki/Interface)
* [FAQ](https://github.com/asvae/laravel-api-tester/wiki/Frequently-asked-questions)

## Installation

Require this package with composer:

```
composer require asvae/laravel-api-tester
```

After updating composer, add the ServiceProvider to the providers array in config/app.php

```
Asvae\ApiTester\ServiceProvider::class,
```

That's it. Go to `[your site]/api-tester` and start testing routes. It works for Laravel 5.1+.

## Config

By default, the package is bound to `APP_DEBUG` `.env` value. But you can easily override it. Just publish config:

```
php artisan vendor:publish --provider="Asvae\ApiTester\ServiceProvider"
```

And edit `config/api-tester.php` as you please.

## Features
* Display routes for your application.
* Prepare and save requests.
* Collaborate with your team using firebase.
* Live search for everything.
* Filter out routes in [config](config/api-tester.php).
* CSRF token is handled for you.
* Fill request in JSON editor.
* Preview response depending on type (html or json).
* Clean and intuitive interface.
* Lightweight and no dependencies (except on laravel).

## Powered By
* [Vue.js](https://vuejs.org/)
* [Bulma](http://bulma.io/)
* [Json Editor](https://github.com/josdejong/jsoneditor)

## Feedback
Don't hesitate to raise an issue if something doesn't work or you have a feature request. You're welcome to.

## Authors
* [greabock](https://github.com/greabock) — backends. All of em.
* [asvae](https://github.com/asvae) — frontends. You guessed it.

## Tests
Check badges on the top for details.

## Licence
MIT