As a Laravel developer, you often need to reuse code across different parts of your application. Two...
Enums in PHP 8.1+ bring structure and clarity to your code, especially when dealing with fixed sets...
Let’s say you're building an invoicing system. Each User can have many invoices. Some invoices are...
Throughout my journey with Laravel, I’ve learned a lot of lessons that helped me improve the way I...
When you're working on a large-scale project, over time you'll likely need to add new features or...
In Laravel projects or any large scale PHP application it's common to create helper files that...
In Laravel, the APP_KEY is a critical component used to encrypt sensitive data like sessions and...
As developers, we often assume that the data users enter into our forms is exactly what we see. But...
Securing user accounts starts with strong passwords, and Laravel makes this easier by providing a...
When we need to filter data in database we use where, Simply in Laravel we use where() also, But...
If you're working with Laravel and want an easier, more streamlined way to define routes without...
Have you ever wondered why minimizing queries is essential for Backend Developers? 🚀 As a Backend...
PureText PureText is a Laravel package for filtering and replacing inappropriate or...
Sometimes we need specific attributes only from requests or exclude some attributes from...
Sometimes we need to track specific action or processes that happens at different times or according...
When working with Laravel API, we utilize resources to manage the process of returning collections in...
Sometimes we need to create count views for Post, Page or Others, But how to prevent mass views count...
As a backend developer, your role in efficiently managing storage is crucial to avoid unnecessary...
In Laravel application deployment, sometimes we need to execute server-side commands for tasks like...
Laravel has great feature including in Sanctum, that allow to identify logged user and handle the...
If you are taking any data from the user, pay attention to validations. Unfortunately, I see some...
The `password()` helper generates a secure password that is 32 characters long by default.
ten steps to secure your laravel website