laravel-route-statistics icon indicating copy to clipboard operation
laravel-route-statistics copied to clipboard

Support parameters

Open svenbw opened this issue 8 months ago • 3 comments

Description

All requests are logged however any parameters which are configured in the route are not, this PR adds the support to log all the parameters to the database as a json string.

Since this might not be the desired behavior there is a new configuration option in the config file store_parameters that stores the parameters of the requests if set to true. This option is also available as an environment variable ROUTE_STORE_PARAMETERS.

Does this close any currently open issues?

No

Type of change

Please delete options that are not relevant.

  • [x] New feature (non-breaking change which adds functionality)
  • [x] This change requires a documentation update

...

Any other comments?

...

Checklist

  • [x] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [x] I have added tests that prove my fix is effective or that my feature works
  • [x] New and existing unit tests pass locally with my changes

svenbw avatar Jun 19 '24 17:06 svenbw