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 whereRelation (A better version of whereHas) method in Laravel 8.x

September 5, 2021 — Checking the existence of relationships and fetching model records is quite easy in Laravel.

Read More Laravel

Designing websites keeping floating tab bar of Safari 15 (on iOS) in mind

September 2, 2021 — The newest version of Safari, i.e Safari 15, on iOS is great. It comes with an all-new layout and a new way of navigating websites on it.

Read More Safari

Position children elements in the parent absolutely using CSS

August 29, 2021 — Sometimes, it might be the case where you want to place/position the children elements that reside insides their parent absolutely.

Read More CSS

RegEx simplified with named capture groups in JavaScript

August 24, 2021 — Regular expressions (RegEx) are great little strings that help in solving some of the complex problems that are rather hard if we don’t use the RegExes.

Read More JavaScript

Getting subsets of validated data in Laravel 8.x

August 21, 2021 — Laravel offers mainly two ways to validate the request data inside of the controller methods. Either you can directly call the validate method on the Illuminate\Http\Request object and set the validation rules or you can create a form request and type-hint the controller method with this form request class.

Read More Laravel

Why choose React Native for your business?

August 20, 2021 — No matter what field your business is in, having a mobile application to improve your customer’s engagement and experience helps it immensely.

Read More React

Avoid relative import paths in React.js using Webpack aliases

August 18, 2021 — Here’s a little tip for your React.js projects that can dramatically improve your developer experience.

Read More React

Conditional validation rules in Laravel 8.x

August 16, 2021 — Sometimes, you might end up in a situation where you would want to add certain validation rules for fields.

Read More Laravel

console.trace — A better alternative to console.log

August 13, 2021 — If you ask me what is that one thing that I (over)use when working with JavaScript, the only answer you’ll get is console.log().

Read More JavaScript

Using compact and tidy Git Log

August 11, 2021 — When it comes to using Git from the CLI, one of the commonly used commands is the git log command. The command essentially shows, as its name suggests, the log of all the commits (recent commit first).

Read More Git
Previous 1 ... 44 45 46 ... 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