Two new array methods are coming in PHP 8.5 — array_first() and array_last()
May 2, 2025 — Today, if you want to get the first or last element of an array in PHP effectively, you can use the reset() and end() functions respectively.
May 2, 2025 — Today, if you want to get the first or last element of an array in PHP effectively, you can use the reset() and end() functions respectively.
April 16, 2025 — When you cache a value in Laravel, it’s stored in the cache store (like Redis, Memcached, etc.) and can be retrieved later. This is great since it prevents expensive operations like database queries or API calls.
April 10, 2025 — Eager loading in Laravel is a way to load related models when you query a model. This is done to prevent the N+1 problem, which occurs when you load a model and then load its related models one by one, resulting in multiple queries to the database.
April 8, 2025 — While Laravel’s Eloquent ORM is pretty powerful and covers all the bases for most of the use cases, there will always be something that is missing. In other words, there will always be a feature that you don’t need until you need it.
March 27, 2025 — I got introduced to macOS back in 2018 at the workplace and since then I’ve been in love with the operating system and the entire ecosystem. There is something about the Mac apps that makes them so delightful to use. Most of these apps are well designed, intuitive, and are a pleasure to use.
March 19, 2025 — View transitions are a great way to make your website feel more dynamic and engaging when users navigate between pages. The View Transition API, in particular, lets you create animated transitions between different website views.
March 17, 2025 — Document conversion can be a pain when you’re dealing with multiple file formats. And if you’re building an application that involves document conversion, it becomes even more challenging.
March 13, 2025 — Since technology is evolving at light speed, those organizations that use legacy software are under immense pressure. Legacy software slows down business processes, increases their vulnerability to security attacks, and limits scalability.
February 17, 2025 — The attr() function in CSS is a powerful function that allows you to use the value of an attribute of an HTML element as the value of a CSS property. This function is commonly used with the content property in pseudo-elements to display the value of an attribute on the page.
February 16, 2025 — Scopes in Laravel are a way to encapsulate common queries that you may need to run against a model. They allow you to define a query you can use in multiple places in your application.