Skip to content

sam-adam/adonis-inspect

Repository files navigation

Adonis Inspect

Inspect requests for Adonis v4, a very lighter and minimalist version of Laravel's Telescope.

Contributions are welcomed.

License

License NPM

image image

Installation

npm install @suhendra/adonis-inspect

Configure

Register it in start/app.js:

const providers = [
  ...
  '@suhendra/adonis-inspect/providers/InspectProvider'
];

Usage

Visit <app_url>/_inspect to view the lists of requests, e.g: http://localhost:3333/_inspect.

If on dev, prevent reload everytime new json file created by ignoring the used directory, e.g: adonis serve --dev --ignore=storage.

Collectors

Disable / enable collectors by config in config/inspect.js.

Currently supported collectors:

  • Query
  • Response

Cleaning Up

Run ace command `adonis ins

About

Inspect requests for adonis 4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published