Amit Merchant

Amit Merchant

A blog on PHP, JavaScript, and more

  • Articles
  • Projects
  • Uses
  • Art
  • About
  • Ctrl K
  • Search
Laravel PHP JavaScript Git React

Implementing Focused Reading Mode on My Blog

May 9, 2022 — The other day, I was scrolling through my Twitter feed and I saw this tweet from Paco where he implemented what he calls “fuzzy reading mode” on his blog.

Read More ⟶ ⋆ Miscellaneous

The new Arr::join() method in Laravel 9.x

May 7, 2022 — A while back, I have written an article on how to convert arrays to human-readable lists in JavaScript. It’s a built-in feature using the Intl.ListFormat object that lets you do that.

Read More ⟶ ⋆ Laravel

Boolean toggle using useReducer hook in React.js

May 3, 2022 — Toggles are an integral part of a web application. Toggles usually have two states. Most of the time these would be of type boolean.

Read More ⟶ ⋆ React

The new findOr method in Laravel 9.x

May 2, 2022 — A minor release for Laravel 9.x dropped a few days ago and among lots of new features and improvements, this release has introduced a new method called findOr in the Eloquent Builder and Relations.

Read More ⟶ ⋆ Laravel

Readonly classes in PHP 8.2

April 29, 2022 — When readonly properties were introduced in PHP 8.1, it has provided a legitimate way of making class properties truly “readonly”.

Read More ⟶ ⋆ PHP

Effectively rendering lists in React.js

April 27, 2022 — When you’re working on the frontend side of the things of a website, one of the most common tasks is to render lists from arrays/objects.

Read More ⟶ ⋆ React

Null and false can be used as stand-alone types in PHP 8.2

April 24, 2022 — The latest version of PHP, PHP 8.1, has been around for quite some time and it comes packed with some great new features and enhancements.

Read More ⟶ ⋆ PHP

Send emails to a single test email address for test environments in Laravel

April 23, 2022 — When you’re working on a Laravel application, chances are you might be working with a lot of emails. For instance, every time, a new user is created, a welcome email and a confirmation email will be sent to the user.

Read More ⟶ ⋆ Laravel

Override default 404 behavior in Laravel

April 22, 2022 — When working with Laravel routes, if it’s not able to find the matching route, a typical 404 HTTP response will be generated and returned back.

Read More ⟶ ⋆ Laravel

Calculate age from the specified date in Carbon

April 15, 2022 — When you’re working with dates in Laravel, chances are high that you might have done it with this library called Carbon.

Read More ⟶ ⋆ PHP
« Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 Next »

Download my eBook

PHP 8 in a Nutshell

Newsletter

By subscribing, you agree with Revue’s Terms of Service and Privacy Policy.

Follow me everywhere

My Tiny YouTube Channel ⟶ YouTube Icon

Recently Published

  • Check which Composer dependencies requires PHP 8 or 8.1 NEW

  • Capturing images and videos from the camera of mobile devices using HTML

  • Making glowing focus state for text input using CSS

  • Accessing Laravel documentation from the terminal

  • Finding security vulnerabilities in packages using Composer Audit command

Top Categories

Laravel PHP JavaScript Miscellaneous CSS React Git Jekyll VS Code ➔
Home About Contact Categories Guestbook
Previous page Next page
Amit Merchant
About Contact Categories Guestbook
Copyright © 2022 — Amit Merchant