Yasser Elgammal

Yasser Elgammal @yasserelgammal

About: Software engineer @ AAIT

Location:
Egypt, Damietta
Joined:
Feb 18, 2019

Yasser Elgammal
articles - 23 total

Difference Between Helper Functions and Traits in PHP (Laravel)

As a Laravel developer, you often need to reuse code across different parts of your application. Two...

Learn More 0 0Jun 29

How to Work with Enums Easily in Laravel

Enums in PHP 8.1+ bring structure and clarity to your code, especially when dealing with fixed sets...

Learn More 3 1Jun 16

How to Use withAttributes() in Laravel to Add Default Attributes When Creating Models

Let’s say you're building an invoicing system. Each User can have many invoices. Some invoices are...

Learn More 2 0Jun 14

10 Practical Lessons Every Laravel Developer Should Know

Throughout my journey with Laravel, I’ve learned a lot of lessons that helped me improve the way I...

Learn More 2 0May 20

Why Do We Need API Versioning?

When you're working on a large-scale project, over time you'll likely need to add new features or...

Learn More 0 0May 15

Why You Should Use function_exists in Your PHP Helpers

In Laravel projects or any large scale PHP application it's common to create helper files that...

Learn More 1 3May 13

The Role of APP_KEY in Laravel and Why Key Rotation in Laravel 11 Is a Game Changer

In Laravel, the APP_KEY is a critical component used to encrypt sensitive data like sessions and...

Learn More 0 0May 7

Handling Invisible characters with PHP

As developers, we often assume that the data users enter into our forms is exactly what we see. But...

Learn More 1 0Mar 25

Enforcing Strong Passwords in Laravel

Securing user accounts starts with strong passwords, and Laravel makes this easier by providing a...

Learn More 0 0Jan 12

Different ways to use where() in Laravel

When we need to filter data in database we use where, Simply in Laravel we use where() also, But...

Learn More 1 1Jan 8

Intro To Laravel Folio

If you're working with Laravel and want an easier, more streamlined way to define routes without...

Learn More 3 2Jan 3

The Importance of Minimizing Database Queries in Backend Development

Have you ever wondered why minimizing queries is essential for Backend Developers? 🚀 As a Backend...

Learn More 0 0Dec 9 '24

Pure Text Laravel Package

PureText PureText is a Laravel package for filtering and replacing inappropriate or...

Learn More 7 1Nov 10 '24

Request Safe to get data from request safely in Laravel

Sometimes we need specific attributes only from requests or exclude some attributes from...

Learn More 6 0Apr 29 '24

Create Custom LOG in Laravel

Sometimes we need to track specific action or processes that happens at different times or according...

Learn More 5 1Jan 15 '24

How to make resources more reusable in Laravel

When working with Laravel API, we utilize resources to manage the process of returning collections in...

Learn More 1 0Dec 26 '23

How to make Post views count unique in Laravel

Sometimes we need to create count views for Post, Page or Others, But how to prevent mass views count...

Learn More 1 0Dec 14 '23

Practical Storage Savings for Backend Developers

As a backend developer, your role in efficiently managing storage is crucial to avoid unnecessary...

Learn More 1 0Dec 7 '23

How to Execute Laravel Artisan Commands Using an API Endpoint

In Laravel application deployment, sometimes we need to execute server-side commands for tasks like...

Learn More 2 0Nov 30 '23

Dive into Laravel Sanctum Token Abilities

Laravel has great feature including in Sanctum, that allow to identify logged user and handle the...

Learn More 5 0Jul 9 '23

Laravel Validation: Tips and Tricks for Building Secure Applications

If you are taking any data from the user, pay attention to validations. Unfortunately, I see some...

Learn More 1 0Jul 7 '23

Generate Random Password in Laravel

The `password()` helper generates a secure password that is 32 characters long by default.

Learn More 11 1Jul 4 '23

10 steps to secure your Laravel Application

ten steps to secure your laravel website

Learn More 2 1Jul 3 '23