RSSAmplifier

Blog

Amit Merchant

A blog on PHP, JavaScript, and more

amitmerchant.comRSS feed ↗10 posts

Latest posts

Build an AI Agent with Real-Time Web Search in JavaScript

Large language models (LLMs) are great at answering questions, but they have an important limitation: they don’t inherently have access to what’s happening on the web right now.

WebMCP in Chrome (A 101 Guide)

MCP (Model Context Protocol). At this point, you might have come across this term if you’ve worked with any kind of AI agent. But if you still haven’t, here’s a quick refresher on what it is and why it’s important.

From Feature Branches to Agent Branches ft. Antigravity

When people talk about AI coding tools, the conversation usually revolves around models, prompts, context windows, and agent capabilities. That’s usually what grabs the headlines.

One CSS Property That Makes Numbers Look Instantly Better

When you’re working with fonts, especially for displaying numbers, there’s something called proportional spacing that can make a huge difference in how your numbers look when they’re animated.

Real-world examples of using Laravel AI SDK

The Laravel team recently released the Laravel AI SDK that provides a simple and elegant way to integrate AI capabilities into your Laravel applications. The SDK offers a clean and intuitive API that allows developers to easily interact with AI models and services.

Add UI sounds in your web apps in a heartbeat

I was reading the article Sounds on The Web by Raphael Salaja the other day. The article explains the importance of sounds in web applications and how integrating them just enough can dramatically enhance user experience by providing feedback and improving usability.

SVG Filters are just amazing!

So, lately, I have been exploring Haley Park’s website and it’s pretty cute and well designed. What caught my attention, though, was this water ripple effect on one of the text snippets.

The new clamp() function in PHP 8.6

You know how sometimes you want to ensure that a value stays within a specific range? Maybe you’re working with user input, configuration values, or any scenario where you need to enforce boundaries.

Partial Function Application is coming in PHP 8.6

Ever reach for a simple callback and end up writing a tiny novella—an arrow function stuffed with types, reordered parameters, and boilerplate just to pass one value through?

One CSS Trick to Eliminate Scrollbar Layout Shifts

When a webpage’s content exceeds the viewport height, browsers typically introduce a vertical scrollbar. This can lead to layout shifts, especially when navigating between pages or toggling content visibility, as the presence or absence of the scrollbar alters the available width for content.