Add fdekker/log-viewer-bundle recipe (#1603)

* Add fdekker/log-viewer-bundle bundle recipe

* Update indentation to 4 spaces

* Remove home_route default

* Update post-install.txt

* Update post-install.txt

* Update version

* Update post-install
This commit is contained in:
Frank Dekker
2024-04-11 08:52:20 +02:00
committed by GitHub
parent bedc2034f4
commit 88663bb596
4 changed files with 32 additions and 0 deletions
@@ -0,0 +1,14 @@
# Read the documentation: https://github.com/frankdekker/symfony-log-viewer-bundle/blob/master/docs/configuration-reference.md
fd_log_viewer:
log_files:
monolog:
type: monolog
name: Monolog
downloadable: false
deletable: false
hosts:
localhost:
name: Local
host: null
@@ -0,0 +1,4 @@
fd_symfony_log_viewer:
resource: .
type: fd_symfony_log_viewer
prefix: /log-viewer
@@ -0,0 +1,8 @@
{
"bundles": {
"FD\\LogViewer\\FDLogViewerBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%"
}
}
@@ -0,0 +1,6 @@
*. Update <fg=green>config/security.yaml</> file, and add a section to the access_control:
<comment>
security:
access_control:
- { path: ^/log-viewer, roles: ROLE_ADMIN }
</>