Get "PHP 8 in a Nutshell" (Soon PHP 8.5)
Amit Merchant
Amit Merchant Verified ($30/year for the domain)

A blog on PHP, JavaScript, and more

  • Articles
  • Snippets
  • Projects
  • Uses
  • Stats
  • About
  • Search
Laravel PHP JavaScript Git React

Variable-length function arguments using spread token in PHP

May 12, 2021 — When working with functions, there might come the scenario where you’re unsure as to how many arguments a function would have. Basically, a function can have an unlimited number of arguments that you don’t define in the function signature.

Read More PHP

Quickly sudo-ing the previous command in Bash Shell

May 7, 2021 — It’s just another day where I got to learn gemstone of command for Linux’s Bash shell once again.

Read More Bash

Estimated reading time macro in Laravel

May 5, 2021 — When you want to extend some of the classes’ functionality in Laravel, Macros are your best bet. Your imagination is the only limit to what you can do with macros.

Read More Laravel

Update URL query parameters as you type in the input using JavaScript

May 3, 2021 — Sometimes, there might be a use case where you want to change the URL’s query parameters as you type in an input field.

Read More JavaScript

Creating Keyboard shortcuts of combination of keys in JavaScript

April 27, 2021 — Recently, I added a set of few keyboard shortcuts on this blog which helps in navigating through different parts of the blog conveniently. You can check all the shortcuts on this dedicated page.

Read More JavaScript

Verify if entered password is compromised in data leak or not in Laravel 8.x

April 26, 2021 — In my previous article, I talked about the new custom password rule object which brings in the ability to easily add various validation rules to the password field.

Read More Laravel

The new custom password rule object in Laravel 8.x

April 25, 2021 — Passwords are sensitive data and they should be handled with utmost care. The one way to ensure that the user’s password remains safe is to make them enter the strong password in the first place.

Read More Laravel

Zipping up multiple arrays using array_map in PHP

April 17, 2021 — Little-known features are the best when you find them unknowingly. One such feature I came across recently is of the PHP’s popular array_map function.

Read More PHP

List down outdated npm packages in your project

April 17, 2021 — It’s always a good idea to keep a check on the npm packages you have installed in your project/product. Because these packages are ever updating and try to solve the vulnerabilities they have got in them.

Read More Node.js

Asynchronous HTTP client requests are coming in Laravel 8.x

April 15, 2021 — Back in March 2020, when Laravel 7 got released, a brand new HTTP client was introduced which was essentially a wrapper of Guzzle HTTP client. This made the developer experience a lot smoother and easier.

Read More Laravel
Previous 1 ... 47 48 49 ... 77 Next

Download my eBook

COMING SOON PHP 8.5

Newsletter

Subscribe

Follow me everywhere

My Tiny YouTube Channel ➔ YouTube Icon

Recently Published

  • The new, standards‑compliant URI/URL API in PHP 8.5 NEW

  • The new progress() function in CSS

  • Seven Real-World Examples of Using the Pipe Operator in PHP 8.5

  • Using the new session cache in Laravel

  • A free and open-source alternative to Spatie's Ray to debug PHP applications

Top Categories

Laravel PHP Miscellaneous JavaScript CSS VS Code Git React Tools ➔
Home About Contact Categories Links Guestbook
Previous page Next page
Amit Merchant
This is HAL 9000 from 2001: A Space Odyssey
About Contact Archive Tips Guestbook
One of my favorite flowers from Himalayas—Rhododendron
Copyright © 2025 — Amit Merchant