Symfony cache redis adapter with username and password

Recently started a new project that uses Doctrine and symfony cache. For symfony cache I always strongly prefer phpredis with igbinary marshalling. One issue I ran into was that my redis server is configured to use username and password while symfony cache redis adapter docs didn’t cover this scenario at the time of writing, unless … Read more

Doctrine cli with multiple databases

When adding doctrine orm into your project – there is a cli commands present that allows you to do some operations, such as clear cache or update database schema from entities code etc. While typical instruction from doctrine docs talk about adding cli-config.php file into project root and then using vendor/bin/doctrine script – I find … Read more

Use Php code sniffer (phpcs) to keep code clean with consistent coding style

If you don’t use it already – I would highly recommend it for any new projects, especially if working on a project in a team environment. PHP code sniffer is an essential tool for php developers that helps us with keeping code clean and consistent. Which PHP coding style to select? There is only one … Read more

Using webpack 5 with Font Awesome 5

Both projects dont need any lengthy introductions for anyone familiar with web development. Most popular bundler and icons library out there at the time of the writing. Here’s how to use them together: Install Font Awesome 5 Install font-awesome using npm. This is the most maintainable way as npm update will refresh the dependencies for … Read more