swarrot / SwarrotBundle

A symfony bundle for swarrot integration
MIT License
89 stars 59 forks source link

Support configuring the connection with a URL #50

Closed stof closed 5 years ago

stof commented 9 years ago

On Paas platforms like Heroku, it is common for addons to expose their credentials as an URL (amqp://login:password@host:post/vhost in the case of RabbitMQ). In my project, I currently rely on prependExtensionConfiguration in my own DI extension to parse the URL into the format of the bundle. What do you think about supporting the url-based configuration in the bundle directly ?

odolbeau commented 9 years ago

No problem with that. :)

stof commented 9 years ago

I will send a PR soon adapting the logic I have in my project

odolbeau commented 5 years ago

Fixed by #124