Hamid Afghan Profile Image
Blog Projects Tutorial Contact Me
// WHO AM I?
  'name' => 'Hamid Afghan',
  'title' => 'Full-stack Developer',
  'stack' => [ 'TALL Stack' ],
Latest Posts

Jun 25, 2024 — 1 minute read

Laravel Collection 'After' & 'Before' Methods

Two new amazing methods have been added to Laravel collection methods. The 'after' & 'before' methods give you the index before or after an index.

Read More

Jun 24, 2024 — 1 minute read

How to Display File Size in MB, KB, or GB in Ubuntu Linux

Managing disk space on a Linux system is easy with the right tools. Learn how to use the `du -sh *` command to list file sizes in a human-readable format, providing a quick and clear overview of your disk usage. Perfect for keeping your system organized and preventing unexpected storage issues.

Read More

Jul 30, 2023 — 1 minute read

Livewire or Inertia

In summary, if you are opting for Vue, React, or any other JavaScript framework and Livewire is not your preference, then choose Inertia. Read more about it in the blog.

Read More

Jul 24, 2023 — 1 minute read

A Powerful IP Address Information Lookup Package for Laravel

Simplified IP address lookup for Laravel. Enhance user experience, geo-target content, and boost security with accurate IP data.

Read More

Jul 29, 2022 — 1 minute read

Stop "it is not working"

When you are in a team you face many issues that must be communicated best. In technical communication the sentence "It is not working!" is very general and sometimes misleading.

Read More

Apr 12, 2022 — 1 minute read

Laravel Eloquent Soft Delete in Large Tables

... So while implementing Laravel soft delete need to think twice and decide if it is a good idea to add a full table scan?!

Read More

Feb 24, 2022 — 17 minute read

How to handle Large data in Laravel?

If your application is running slow or making a lot of database queries, follow the below performance optimization tips to improve your application loading time. I shared tips for optimizing your mysql, eloquent and raw database queries.

Read More

Feb 16, 2022 — 1 minute read

Tailwind CSS – Add fonts from your local

Most of the time, you might need to include some custom and non-English font of your local files in your Tailwind CSS project.

Read More

{{ Follow::me() }}

['github', 'x', 'linkedin', 'mail']

['@2024', 'Hamid Afghan']

// The blog section is powered by W;nk