Skip to content

asvae/laravel-api-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Api Tester

Interface

Live demo

Try it out: laravel-api-tester.asva.by

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.

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.
  • Live search and sortable columns.
  • CSRF token is handled for you.
  • Define request body in JSON editor.
  • Preview response depending on type (html or json).
  • Material design lite as theme.
  • Lightweight and no dependencies (except on laravel).

Feedback

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

Tests

Coming...