PHPackages                             proycer/logbook-symfony-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. proycer/logbook-symfony-bundle

AbandonedArchivedSymfony-bundle[Logging &amp; Monitoring](/categories/logging)

proycer/logbook-symfony-bundle
==============================

Centralized web log viewer for monolog logs files

v0.1(4y ago)010MITPHPPHP ^7.4|^8.0

Since Sep 1Pushed 4y agoCompare

[ Source](https://github.com/proycer/logbook-symfony-bundle)[ Packagist](https://packagist.org/packages/proycer/logbook-symfony-bundle)[ RSS](/packages/proycer-logbook-symfony-bundle/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (6)Versions (2)Used By (0)

LogBook Symfony Bundle v0.1
===========================

[](#logbook-symfony-bundle-v01)

[![Total Downloads](https://camo.githubusercontent.com/4837a2c7f88f2d8c9593bfdf18c1df131bbfe6c4c9a1bd7a0398ca8035d89ec8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f70726f796365722f6c6f67626f6f6b2d73796d666f6e792d62756e646c65)](https://github.com/proycer/logbook-symfony-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/6969dc36c5547b80ca55026dc1cba6f1528c822ff1ad306627364009efd710d3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f70726f796365722f6c6f67626f6f6b2d73796d666f6e792d62756e646c65)](https://github.com/proycer/logbook-symfony-bundle)[![Build Status](https://camo.githubusercontent.com/bcd406a3a19135a459ffe0a3c5cc8a219ae5d57094ecd60733ac45539f254541/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f70726f796365722f6c6f67626f6f6b2d73796d666f6e792d62756e646c65)](https://github.com/laravel/framework/actions)

[![Details!](src/Resources/assets/images/details.png "Log details")](src/Resources/assets/images/details.png)

LogBook is a centralized web viewer for monolog logs files. It allows you to list and view logs from local and external project, in one easy place with highlighting and level and channel filtering.

Installation
------------

[](#installation)

Install the package with:

```
composer require proycer/logbook-symfony-bundle
```

Two-step Configuration
----------------------

[](#two-step-configuration)

Create the routes yaml file `config/routes/log_book.yaml`

```
log_book:
  resource: '@LogBookBundle/Resources/config/routes.xml'
  prefix: '/logs'
```

Create the config yaml file `config/packages/log_book.yaml`

```
# List of log files to show
log_book:
    log_files:
        # Unique identifier for the logfile
        somelog1:
            # Use full path
            path: 'Some/Full/Path/to/Log/File.Ext'

            # Pretty name to display else file name
            name: My Log Files Pretty Name

            # (Optional) Number of days to pull from log. See ddtraceweb/monolog-parser.
            days: 0

            # (Optional) See ddtraceweb/monolog-parser for patterns.
            pattern: null

            # (Optional) PHP style date format of log file
            date_format: 'Y-m-d\TH:i:s.uP'

            # (Optional) Log level spelling. Case sensitive
            levels:
                debug: DEBUG
                info: INFO
                notice: NOTICE
                warning: WARNING
                error: ERROR
                alert: ALERT
                critical: CRITICAL
                emergency: EMERGENCY

        somelog2:
            path: '/path/to/logfile.log'
            name: Pretty Logfile Name

    # Show App logs in var/log
    show_app_logs: true
```

Advanced Configuration
----------------------

[](#advanced-configuration)

### pattern

[](#pattern)

The default pattern is `'/\[(?P.*)\] (?P\w+).(?P\w+): (?P[^\[\{].*[\]\}])/'`
You can change the regex pattern to match your log file but the pattern must include `P`, `P`, `P`, and `P` as regex groups.
Example `'/\[(?P.+)\] (?P\w+).(?P\w+): (?P.*)/'`

### days

[](#days)

Setting days in the config to 0 will parse to whole log which is the default. Days set to 5 for example will parse the log until the date portion of the pattern if greater than DateTime('now') minus 5 days.

### date\_format

[](#date_format)

This should be the php date format of the date portion of the pattern. Default is Y-m-d\\TH:i:s.uP / [PHP DateFormat](https://www.php.net/manual/en/function.date.php)

### levels

[](#levels)

Override the default spelling for each level. e.g. WARNING -&gt; WARN

Roadmap
-------

[](#roadmap)

- Improve UX/UI
- Live searching and filters
- Update to PHP 8
- Automate installation
- Show advance traceback
- Improve logs loading (as json)
- Improve searching and filter

Thanks
------

[](#thanks)

- [monolog/monolog](https://github.com/Seldaek/monolog)
- [ddtraceweb/monolog-parser](https://github.com/ddtraceweb/monolog-parser)
- [evotodi/log-viewer-bundle](https://github.com/evotodi/log-viewer-bundle)
- [Halfmoon front-end framework](https://www.gethalfmoon.com/)
- [Tabler icons](https://tabler-icons.io/)
- [JetBrains Mono Font](https://fonts.google.com/specimen/JetBrains+Mono)
- [Dayjs plugin](https://github.com/iamkun/dayjs)

Contributions
-------------

[](#contributions)

Contributions are very welcome!

Please create detailed issues and PRs.

License
-------

[](#license)

This package is free software distributed under the terms of the [MIT license](LICENSE).

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 65.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1756d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25795363?v=4)[John Esteban Astete Arambarri](/maintainers/johnnestebann)[@johnnestebann](https://github.com/johnnestebann)

---

Top Contributors

[![evotodi](https://avatars.githubusercontent.com/u/1625853?v=4)](https://github.com/evotodi "evotodi (17 commits)")[![johnnestebann](https://avatars.githubusercontent.com/u/25795363?v=4)](https://github.com/johnnestebann "johnnestebann (9 commits)")

---

Tags

bundlelogmonologsymfony

### Embed Badge

![Health badge](/badges/proycer-logbook-symfony-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/proycer-logbook-symfony-bundle/health.svg)](https://phpackages.com/packages/proycer-logbook-symfony-bundle)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B10.9k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1938.5M261](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2326.5M315](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
