tideways / dbal-sqlparserutils-replacement
v1.0.1
2022-09-27 13:18 UTC
Requires
- php: >=8.0
- doctrine/dbal: 2.x
Requires (Dev)
- phpunit/phpunit: ^9.5
README
Replaces doctrine/dbal 2.x SQLParserUtils by "preloading" it via Composer "files" autoloading. This solves the performance issues of the old implementation when no migration to Doctrine DBAL 3.4+ is possible in the short term.
$ composer require tideways/dbal-sqlparserutils-replacement
Nothing more needs to be done, unless you do not use MySQL then you must set early in bootstrap:
\Doctrine\DBAL\SQLParserUtils::$isMySQL = false;