Try it out: laravel-api-tester.asva.by
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.
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.
- 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).
Don't hesitate to rise an issue if something doesn't work or you have a feature request. You're welcome to.
Coming...