nalogka / doctrine-init-bundle
Package info
github.com/nalozhka/doctrine-init-bundle
Type:symfony-bundle
pkg:composer/nalogka/doctrine-init-bundle
v0.1.0
2018-03-20 11:54 UTC
Requires
- php: ^5.6 || ^7.0
This package is auto-updated.
Last update: 2026-02-27 22:02:25 UTC
README
Symfony bundle for executing some initial SQLs right after database connection has been established.
Installing
composer require nalogka/doctrine-init-bundle
After that you can set up initial sql commands in project configuration:
nalogka_connection_init: initial_sqls: - "SET SESSION wait_timeout = 3600" # setting up mysql inactivity timeout (sec)
Defined SQLs will be executed right after the connection has been established.