My beloved Laravel cheat sheet
Here is the list of some important daily used artisan commands & usage.
Here is the list of some important daily used artisan commands & usage.
When building a Laravel application, you often need to control who can perform certain actions. For example, only the author of a blog post should be able to edit or…
When building an API in Laravel, one of the most common ways to authenticate users is by using Laravel Sanctum.
When building APIs, one important question always comes up: “How does the server know who is sending the request?” This is solved using authentication systems. Let’s understand it in a…
The real confusion starts when building a project: When should I create a Trait? When should I use an Interface? Why do Abstract Classes exist? Can’t Inheritance do everything?
Traits are for sharing common behavior across unrelated classes (e.g., User, Product, and Order can all Log), avoiding misuse of inheritance and overcoming PHP’s single-inheritance limitation.
Traits are not a Laravel feature. They are a PHP language feature. A Trait is a way to reuse methods across multiple classes. Think of it as a copy-paste helper…
If you’re learning Laravel APIs, you’ve probably built some basic CRUD operations already:

One of the most exciting features I recently learned about is Claude Plugins. They allow you to package skills, tools, workflows, and AI agents into a single reusable solution.
As a developer, I recently explored some advanced capabilities of Claude and Claude Co-Work. Here are the key takeaways in simple language.
A conversation-based guide that clears the confusion between Blade template inheritance and Blade components.