Alternative ways of doing the same things in Laravel
Updated 29th March 2022
Laravel is a large framework, with contributions coming from almost 2000 developers worldwide. Over its 10 year journey, there have been additions to the framework to do the same thing, only shorter. In this post, I have highlighted some alternative ways of doing the same things in Laravel. How to get the authenticated users id
What are next-gen image formats?
Updated 17th March 2022
Google Page Insights is a useful tool used to report on the performance of webpages on both mobile and desktop devices and provide suggestions on how the page can be improved. A common suggestion many websites are given is ‘Serve images in next-gen formats’, but what are next-gen image formats? Next-gen image formats provide superior
[UPDATED 2022] Change PHP version on Ubuntu, Linux
Updated 23rd August 2022
In this post, I will show you how to switch PHP version on Ubuntu, Linux. If you are developing on Windows, follow this guide to set up Windows Sub System for Linux. What will be covered: Change PHP version for Apache2 Change PHP version for Nginx Change PHP CLI version In this example, we will
0 Comment