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

Singleton routes for one-off resources in Laravel 9.x

December 7, 2022 — The way routes work in Laravel is that you define a route and then you define a controller action to handle the request.

Read More Laravel

Take full-size screenshots of websites without any tools in Chrome

December 6, 2022 — If you’re a web developer, you might have come across a situation where you need to take a full-size screenshot of a website. For instance, you might want to take a screenshot of a website to show it to your client or your team members.

Read More Miscellaneous

PHP type declarations — A guide for beginners

December 4, 2022 — PHP 7 introduced a lot of new features to the language. One of them is the ability to declare the type of a function argument and the type of value that a function returns. This is called type declaration.

Read More PHP

Handling images with inconsistent height in CSS

November 30, 2022 — When you’re working with CSS, you often stumble upon a situation where you need to display a list of images with different heights.

Read More CSS

Convert any value to a boolean in JavaScript

November 29, 2022 — When you’re working with JavaScript, you often stumble upon a situation where you need to check certain conditions. And often, you would need a boolean value (true or false) or boolean expression to check for the condition.

Read More JavaScript

New features of PHP 8.2 in Code Blocks

November 27, 2022 — The release of PHP’s latest version, PHP 8.2, is just around the corner. On December 8, 2022 to be precise.

Read More PHP

Using development configuration for local development in Jekyll

November 26, 2022 — I’ve been using Jekyll to power this blog for quite some time now. I quite like the simplicity of Jekyll. But there’s this one thing that I don’t like about it.

Read More Jekyll

Bookmark frequently used folders in Ubuntu

November 23, 2022 — I’ve been an ardent Linux user for quite some time now. Especially the Ubuntu flavor. And one of the things that I love about Ubuntu is that it’s very customizable.

Read More Miscellaneous

Tracking value of number inputs using CSS

November 22, 2022 — There are scenarios where you might want to track the value of an input field, especially the number inputs, and change the theming of the input field based on the value.

Read More CSS

Ability to use Constants in Traits in PHP 8.2

November 18, 2022 — Constants are a great way to define values that are not going to change. They are also a great way to define values that are going to be used in multiple places.

Read More PHP
Previous 1 ... 28 29 30 ... 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