routelogger/routelogger

This package use for logged route name

2.0.0 2025-09-08 08:38 UTC

This package is auto-updated.

Last update: 2025-09-08 08:42:41 UTC


README

Packagist Downloads License

A lightweight Laravel package to log route names, methods, and status codes automatically.
No manual middleware binding β€” just install and start logging πŸ“œ.

πŸš€ Installation

composer require routelogger/routelogger


---

## βš™οΈ Configuration (Optional)

By default, Routelogger works **out-of-the-box** β€” it will log all routes in the `api` middleware group with route name (or URI), HTTP method, and status code.

If you’re happy with the defaults, **no changes are required** βœ….

But if you want to **customize behavior** (e.g., log web routes too, change emoji, or disable logging), you can publish the config file:

```bash
php artisan vendor:publish --tag=config