fastest
fastest copied to clipboard
Support / Docs for Symfony Flex projects
Currently within Symfony Flex projects doctrine configuration is like:
doctrine:
dbal:
url: '%env(DATABASE_URL)%'
Where this DATABASE_URL
env is eg. mysql://[email protected]:3306/symfony?charset=utf8mb4&serverVersion=5.7
With this database creations won't work as expected because of https://github.com/liuggio/fastest/blob/master/adapters/Doctrine/DBAL/ConnectionFactory.php#L27-L31
@tarlepp could you try to work on this?
I got around this by not using the url
parameter:
url: ~
dbname: test_app
host: 127.0.0.1
user: root
password: root
However, I still had a problem with missing phpunit dependencies because phpunit is installed separately by symfony phpunit-bridge :cry: