...) can be used to spread the properties of an object.
September 18, 2022 — Recently, I stumbled upon a problem where I had to toggle the state of the checkbox based on the viewport width. So, let’s say, if the viewport width is changed and is less than
879px and the checkbox is checked, then it should be unchecked.
September 16, 2022 — In the recent Laravel 9.x release, the framework introduced a new
discardChanges() method on the
Model class. This method allows you to discard the changes made to the model instance. So, let’s see how we can use this method.
...) to do so.
September 10, 2022 — Converting images from one format to another programmatically is sort of a common task. For example, you may want to convert all your PNG images to WebP format to save bandwidth and improve the performance of your application.
August 31, 2022 — PHP is one of those languages that are easy to learn and easy to use. But sometimes it surprises you with weird quirks that you would only imagine in your dreams.
August 27, 2022 — When your website is a user-centric one, meaning a website where users can signup and login using email/username and password, there surely will be a form where user can reset their password.
August 25, 2022 — Laravel is an open-source PHP framework that forms web applications based on the model-view-controller paradigm. Hosting prerequisites include SSH to the server to deploy code from your GitHub store.
August 23, 2022 — Love it or hate it but VS Code by Microsoft is one of the most widely used text editors today and that’s because of its versatility and features that are helpful.
August 21, 2022 — If you have worked with CSS, you may have come across this function called clamp() that clamps a value between an upper and lower bound.
Download my eBook
Follow me everywhere