env('ROUTE_STATISTICS_ENABLED', true), /* |-------------------------------------------------------------------------- | Store parameters |-------------------------------------------------------------------------- | | If this setting is set to true the route parameters will also be logged. | */ 'store_route_parameters' => env('ROUTE_STATISTICS_STORE_ROUTE_PARAMETERS', false), /* |-------------------------------------------------------------------------- | Aggregation |-------------------------------------------------------------------------- | | This setting controls how we should aggregate requests. | Possible values are: SECOND, MINUTE, HOUR, DAY, MONTH, YEAR | */ 'aggregate' => env('ROUTE_STATISTICS_AGGREGATE', 'DAY'), /* |-------------------------------------------------------------------------- | Model |-------------------------------------------------------------------------- | | This is the model used to store request statistics. | It is possible to implement a custom model which extends the default model | or alternatively implement a completely new model which implements | Bilfeldt\RequestLogger\Contracts\RequestLoggerInterface | */ 'model' => env('ROUTE_STATISTICS_MODEL', Visitor::class), /* |-------------------------------------------------------------------------- | Store Strategy |-------------------------------------------------------------------------- | | If you set this to true, the Logs stored in the database using queues | It is good when you have large database | */ 'queued' => env('ROUTE_STATISTICS_QUEUED', false), /* |-------------------------------------------------------------------------- | User Model |-------------------------------------------------------------------------- | | This is the model used for user relationships. | You can set a custom user model for relationships. | | Leaving this empty will use the model from the 'users' auth provider. | */ 'user_model' => env('ROUTE_STATISTICS_USER_MODEL'), ];