lentex/requests-recorder

There is no license information available for the latest version (dev-main) of this package.

Laravel package that records every request to the application and saves it to DB

dev-main 2023-02-01 06:23 UTC

This package is auto-updated.

Last update: 2024-08-29 09:59:00 UTC


README

This is just a showcase package used for a tutorial on Laravel package development using TDD. Package is not supposed for production use. If you decide to use it nevertheless maybe think about overriding the GET /incoming-requests route, so you don't expose the recorded requests on your production site.

Features

  • Middleware that is executed on every route automatically
  • JSON Body, method and uri of every request is recorded and stored in DB
    • Exception: Within the config file you can choose which methods are included (for example: only GET)
  • Console command that deletes all recorded requests
  • Page listing all recorded requests