Giter Club home page Giter Club logo

laravel-api-tester's Introduction

Laravel Api Tester

Integration tests Unit tests

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.
  • Filter out routes in config.
  • 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 raise an issue if something doesn't work or you have a feature request. You're welcome to.

Timeline

  • 1.0.10 (19.07.2016) - add filters (thanks greabock).

Tests

We do unit tests as well as integration tests, which is rare for laravel libraries. Check badges on the top for details

Licence

MIT

laravel-api-tester's People

Contributors

asvae avatar greabock avatar nyedidikeke avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.