Amit Merchant

Amit Merchant

A blog on PHP, JavaScript, and more

  • Articles
  • Projects
  • Uses
  • Art
  • About
  • Ctrl K
  • 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 ⟶ ⋆ Miscellaneous

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
« 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 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

  • Natural debouncing using the useDeferredValue hook in React 18 NEW

  • The global faker helper in Laravel 9.x

  • Do cleanup from useEffect in React.js whenever possible

  • Plural strings based on the count in Laravel

  • Detecting slow database operations in Laravel 9.x

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