Get "PHP 8 in a Nutshell" (Now with 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

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

Add auto-completion in Bash terminal using Fish shell

April 11, 2021 — The default terminal shell you get in Linux systems is pretty basic and bare-bones. For instance, in Ubuntu, the default shell is GNU Bash and while it can get your job done, it lacks some of the power user features.

Read More Bash

Function properties in JavaScript

April 10, 2021 — Today I learned something new about JavaScript. i.e JavaScript functions can have properties which can be accessed from within the function scope.

Read More JavaScript

Quick tip - Using lightweight pagination in Laravel

April 4, 2021 — If you want to paginate database records in Laravel, you can use the paginate method on the query builder or an Eloquent query.

Read More Laravel

Delay dispatching actions in Redux using Thunk middleware

April 1, 2021 — Managing the application state in a modern frontend application is hard. But it’s tools like Redux which makes it all breeze for us.

Read More Redux

The prohibited validation rule in Laravel 8.x

March 30, 2021 — Sometimes, all you would need is to forcefully prevent some of the fields in the request. Essentially, to “prohibit” or ban the fields to be mandatorily empty or not present in the request at all.

Read More Laravel

How to specify default value for props in React.js

March 28, 2021 — While working on an application which is built using React.js, I stumbled upon a use-case where I needed to set a default value for a specific component prop. Let’s check the following example to understand how I approached this problem.

Read More React
Previous 1 ... 48 49 50 ... 78 Next

Download my eBook

NOW AVAILABLE PHP 8.5

Newsletter

Subscribe

Follow me everywhere

My Tiny YouTube Channel ➔ YouTube Icon

Recently Published

  • The new clamp() function in PHP 8.6 NEW

  • Partial Function Application is coming in PHP 8.6

  • One CSS Trick to Eliminate Scrollbar Layout Shifts

  • The modern way to draw squircles using corner-shape in CSS

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

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