DJTommek / better-location

Telegram bot for parsing and generating various of location formats.
https://t.me/BetterLocationBot
MIT License
7 stars 2 forks source link

Migrate from MiniCurl to Guzzle #122

Closed DJTommek closed 9 months ago

DJTommek commented 1 year ago

MiniCurl started as very small wrapper around CURL, but it kind of grow until it is doing too much work at once, while being hard to maintain (too complex, too buggy) and unable to do some mockups for tests.

Guzzle is long-term reliable library with support for middlewares and handlers which can be used eg for caching and mocking for tests.