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

Apache – enabling brotli compression with gzip/deflate fallback

Edit: October 2022 – I’ve also added tutorial for configuring nginx with brotli compression with gzip fallback (handling both statically compressed files and dynamic content): Brotli is a relatively new generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding, and 2nd order context modeling. … Read more