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

Make any string studly case using Str::headline() in Laravel 8.x

October 19, 2021 — Strings are tricky things to work with when it comes to programming. But thankfully, Laravel provides a lot of helper methods that can fulfill almost all the use-cases you might have when you’re working with strings.

Read More Laravel

Track Git-style local changes in Chrome Dev Tools

October 18, 2021 — Chrome’s Dev Tools is a gold mine of little features. While some of them are pretty useful, some are just there. But the problem here is these features sit deep inside the settings panel and to really discover them, you have to dig them. Feature-by-feature!

Read More ChromeDevTools

First-class callables in PHP 8.1

October 14, 2021 — The newest release of PHP, v8.1, is around the corner and it will introduce a whole lot of new features, from the read only properties to the native enums. It’s pretty exciting!

Read More PHP

Throwing response exceptions conditionally in Laravel 8.x

October 13, 2021 — When you’re using Laravel’s Http client to make Http requests and something went wrong from the server-side, the server would return one of the error reponses such as 500 Internal Server Error, 502 Gateway Timeout, and so on.

Read More Laravel

Check if a PWA is opened as a standalone app or not

October 11, 2021 — When working with Progressive Web Apps (PWA), there might be a case when you only want to show certain things when the website is in standalone mode.

Read More PWA

Dry running Composer update without actually updating dependencies

October 5, 2021 — It would always be a good idea to cross-verify/confirm a destructive action before you actually perform it. For instance, while giving users the ability to delete something important, let’s say the user account, it’s a good idea to present them a confirmation popup before he/she deletes the account permanently.

Read More Composer

Simple blinking cursor animation using CSS

October 1, 2021 — The other day I was feeling a little nerdy (like all the cool kids) and so, I attempted to add this cool-looking blinking cursor at the end of my blog’s tagline like so.

Read More CSS

Always destructure your component props in React.js

September 28, 2021 — While working with React.js components, there are two ways using which you can retrieve/access the component props.

Read More React

Custom thumbnails for native video element in HTML

September 27, 2021 — The <video> is an HTML element that can be used to embed a media player on a page that can a variety of video formats. Here’s how a simple video embed with an external video source would look like.

Read More HTML

Retrieve request URL without specific query parameters in Laravel

September 24, 2021 — When you have a request in hand and if the URL is having a query string with different parameters, the easiest way to get the entire URL with the query string is using the fullUrl() method like so.

Read More Laravel
Previous 1 ... 41 42 43 ... 76 Next

Download my eBook

NOW AVAILABLE PHP 8.4

Newsletter

Subscribe

Follow me everywhere

My Tiny YouTube Channel ➔ YouTube Icon

Recently Published

  • Innovative Solutions for eCommerce — How Shopify Headless Works NEW

  • The best paid SVG icon resources that money can buy

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

  • The pipe operator is coming to PHP 8.5

  • The absolute fastest way to install PHP on your system in 2025

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