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

Artisan command to prune stale jobs in Laravel 8.x

June 29, 2021 — In Laravel, when your queued jobs fail after a job has exceeded the number of attempts, it will be inserted into the failed_jobs database table (if you have set it up).

Read More Laravel

Send notifications to non-users of your application in Laravel

June 23, 2021 — Typically, when you send notifications from your Laravel app, the notifications would be attached to the users of your application in most of the scenarios.

Read More Laravel

Numerical literal separator for better readability in PHP

June 18, 2021 — When you’re working with numbers in your code, they sometimes become hard to comprehend. For instance, in cases where numbers are too large in terms of length. Take the following for example.

Read More PHP

The new startTransition API to offset expensive renders in React 18

June 15, 2021 — The latest major version of React.js, 18, is around the corner and it will include out-of-the-box improvements (like automatic batching), new APIs (like startTransition), and a new streaming server renderer with built-in support for React.lazy.

Read More React

Constructor assignment of field variables in TypeScript

June 15, 2021 — When you work with classes with constructors in TypeScript, the usual way to declare the field variables is like following.

Read More TypeScript

Get your website ready for new tab bar theming of Safari 15

June 13, 2021 — It’s a wrap for Apple’s WWDC 2021 last week. And while a lot of good stuff was released in the event, I, as a web developer, was pretty excited for Safari 15 and its all-new design in the macOS and the iPadOS.

Read More Safari

Adding a custom Install button in Progressive Web Apps

June 9, 2021 — The other day, I was looking for a way to add a custom “Install” button in my Notepad app which is essentially a Progressive Web App (PWA).

Read More PWA

Conditionally executing callbacks using Conditionable trait in Laravel 8.x

June 7, 2021 — If you have been working with Laravel lately, you might have used this feature called “conditional clauses” using which you will be able to run a certain callback when a condition becomes true.

Read More Laravel

Blade stringable to handle objects centrally in Laravel 8.x

May 31, 2021 — Wouldn’t it be useful if you could define a certain action that should be performed every time your Blade templates encounter objects of a specific class?

Read More Laravel

Refresh maintenance mode page automatically in Laravel 8.x

May 25, 2021 — Laravel has this cool feature using which you can put your website in maintenance mode. To do so, all you will need to do is run the following command.

Read More Laravel
Previous 1 ... 45 46 47 ... 77 Next

Download my eBook

NOW AVAILABLE PHP 8.4

Newsletter

Subscribe

Follow me everywhere

My Tiny YouTube Channel ➔ YouTube Icon

Recently Published

  • Everything that is coming in PHP 8.5 NEW

  • Stop Ignoring Important Returns with PHP 8.5’s `#[\NoDiscard]` Attribute

  • Innovative Solutions for eCommerce — How Shopify Headless Works

  • The best paid SVG icon resources that money can buy

  • The new if() function in CSS has landed in the latest Chrome

Top Categories

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