November 2, 2019 — In this article, I’m going to discuss about the feature in Laravel using which you can extend the functionality of certain Laravel’s core classes without even touching the original codebase. Or in other words, adding methods to the class dynamically.
November 1, 2019 — I'm not a person who watches this "series thingies" more often but there are some exceptions. I've been always interested in the Chernobyl nuclear disaster that happened in Ukraine back in 1986 ever since I've been a teenager. Our textbooks have a little details about the incident but that was very brief.
October 30, 2019 — In this article, I’m going to discuss about the union types which are going to come in future versions of PHP through this RFC. To understand why and how are union types important in PHP, let’s first understand what are union types.
October 9, 2019 — If you’ve used some well creafted web application, such as GitHub for instance, you might’ve noticed that upon saving sensitive information such as settings or payment details, it asks for the password confirmation before performing the action. This adds the extra layer of security and certainly a nice-to-have feature.
September 29, 2019 — PHP is funny sometimes. There are many things in PHP which behaves differently instead of the way you think might work. I recently stumbled upon one such thing while working on one of my projects.
September 11, 2019 — If you love the Laravel as a framework or more specifically its Eloquent ORM like I do then there’s a great chance that you’d like to use this great ORM in your non-Laravel PHP apps as well. And the good news is it’s rather easier than you might think. Laravel provides a standalone pacakge called Capsule which you can use in your own project. It’s a full database toolkit for PHP, providing an expressive query builder, ActiveRecord style ORM, and schema builder. It currently supports MySQL, Postgres, SQL Server, and SQLite.
September 6, 2019 — Magento is known for its developer-friendly approach for buliding things around its platform. Everything is well-defined and readily available in the framework. This also includes implementing RESTful APIs right within the framework. In this article, I’m going to explain how you can create an API endpoint in Magento 2 and how you can consume or distribute the same.
September 5, 2019 — If you’re a tech blogger(or any blogger in general) you must have faced this issue where you find yourself in a situation when you don’t have anything to write about. You feel like a blank slate and got demotivated. This situation is called as a Writer’s block.
September 4, 2019 — Laravel team has recently released
v6.0 of the framework and with this they have added a bunch of exciting new features. Among which, I’m going to talk about Lazy Collections in this article. In Laravel,
Illuminate\Support\Collection class provides a fluent, convenient wrapper for working with arrays of data. In face, all the Eloquent queries are always returned as
LazyCollection essentially extends the features of the
Collection class. Let’s talk about them in detail.
Download my eBook
Follow me everywhere