The Curious Engineer

All blogs / PHP

Amit Merchant

amitmerchant.com

A blog on PHP, JavaScript, and more

PHPFrontend / CSS / browsersJavaScript / TypeScriptAI / MLEngineering blogs

Posts
790 from 17 Jan 2019 to 20 Oct 2026
Posting
monthly (15 in the last year)
Kind
personal blog
Feed
https://www.amitmerchant.com/feed.xml

2026 11

  1. Snippets
  2. An online-first version control system in this agentic era
  3. A Practical Way to Check Your AI Search Visibility
  4. 7 Game-Changing Web UI Features You Can Start Using Today
  5. Build an AI Agent with Real‑Time Web Search in JavaScript
  6. WebMCP in Chrome (A 101 Guide)
  7. From Feature Branches to Agent Branches ft. Antigravity
  8. One CSS Property That Makes Numbers Look Instantly Better
  9. Real-world examples of using Laravel AI SDK
  10. Add UI sounds in your web apps in a heartbeat
  11. SVG Filters are just amazing!

2025 38

  1. The new clamp() function in PHP 8.6
  2. Partial Function Application is coming in PHP 8.6
  3. One CSS Trick to Eliminate Scrollbar Layout Shifts
  4. The modern way to draw squircles using corner-shape in CSS
  5. The new, standards‑compliant URI/URL API in PHP 8.5
  6. The new progress() function in CSS
  7. Seven Real-World Examples of Using the Pipe Operator in PHP 8.5
  8. Using the new session cache in Laravel
  9. A free and open-source alternative to Spatie's Ray to debug PHP applications
  10. Resize any DOM element using two lines of CSS
  11. if() function in CSS
  12. Chrome now has an AI Summarizer API built right in
  13. Automate PDF Generation from Custom Designs using Orshot
  14. Everything that is coming in PHP 8.5
  15. Stop Ignoring Important Returns with PHP 8.5’s `#[\NoDiscard]` Attribute
  16. Innovative Solutions for eCommerce — How Shopify Headless Works
  17. numerous free resources
  18. The best paid SVG icon resources that money can buy
  19. The pipe operator is coming to PHP 8.5
  20. The absolute fastest way to install PHP on your system in 2025
  21. Two new array methods are coming in PHP 8.5 — array_first() and array_last()
  22. Memoizing the cache in Laravel
  23. Preventing N+1 issues globally in Laravel using Auto Eager Loading
  24. The missing owns() method in Laravel's Eloquent
  25. Mac Apps That Power My Day
  26. The bare minimum you need to enable View Transitions on your website
  27. A Laravel package for docs conversion using LibreOffice
  28. The Importance of Software Modernization — Making Sure Organizations Remain Competitive
  29. The attr() function in CSS now supports types
  30. a way to encapsulate common queries
  31. The new withAttributes method for relationships and scopes in Laravel
  32. Introducing ConsolePad — The missing Notepad in Chrome DevTools
  33. Every AI Coding Agent in the Wild
  34. Some open-source and free Laravel SaaS Starter Kits
  35. Using Laravel Tinker in Chrome DevTools
  36. Manually setting the intended URL for routes in Laravel
  37. a whereRelation method
  38. Easier Relation Queries with New Eloquent Methods in Laravel 11.x

2024 84

  1. write better
  2. An open-source desktop playground for PHP
  3. Skip installing npm dependencies when deploying to Cloudflare Pages
  4. JavaScript Basics for Beginners — Simple Steps to Create Your First Program
  5. Native URI manipulation in Laravel
  6. How I create PDF and EPUB for my eBook using PHP
  7. Using non-conventional columns in Laravel's Migrations
  8. Dynamically build Mail, DB, and Cache configurations in Laravel
  9. Running multiple commands at once in a terminal using this Laravel Package
  10. Implementing interactive floating windows using Picture-in-Picture API
  11. deep copying objects
  12. How Document-oriented Databases Store Data Similar to JSON Objects
  13. Combine and simplify multiple commands using Composer Scripts
  14. Some great open-source alternatives to Postman
  15. Prohibit running destructive DB commands in Laravel
  16. A growing list of well built open-source apps in Laravel
  17. cpx — The npx counterpart of the PHP ecosystem
  18. Disable console logs in production in Next.js
  19. The magic behind Laravel's new defer() helper
  20. Temporary and Signed URLs for Local Filesystem in Laravel
  21. Make "git diff" look beautiful in the terminal
  22. Container Attributes in Laravel
  23. Inlay hints make it easy to read code in VS Code
  24. A package to easily backup database tables in Laravel
  25. this article
  26. Enabling Richer PWA Install UI on Desktop
  27. Using Human-friendly dates in Git
  28. Keeping a check on queries in Laravel
  29. Popover API 101
  30. Request fingerprints and how to use them in Laravel
  31. Separating Database Hosts to Optimize Read and Write Operations in Laravel
  32. Using Generics in Laravel Eloquent
  33. Launching MacTreasure.com
  34. Advanced Markdown using Extensions in Laravel
  35. A JavaScript snippet that sets all Lighthouse scores to 100%
  36. Finding cool Laravel developers using Laradir
  37. Multiply collections to fake bulk data in Laravel
  38. Implementing SaaS Usage Limits in Laravel
  39. Fetching before and after items from a Laravel Collection
  40. Interesting Public APIs to Play Around With
  41. 7 must-have packages for Laravel Developers
  42. Twitching Text
  43. Strict vs Weak types in SQLite
  44. I found the best native ChatGPT client for macOS
  45. Three ways to impersonate a user in Laravel
  46. Nested Anchor Links using CSS
  47. Never run composer update on your server
  48. Larafast — A Laravel SaaS Starter Kit
  49. The new freshly designed exception page in Laravel 11
  50. Sending mails using Resend in Laravel
  51. Centering content vertically with one line of CSS
  52. A little DevTools snippet to check broken links on a webpage
  53. A browser to take cleaner screenshots of websites
  54. PHP 8.4
  55. A few new array functions are making their way into PHP 8.4
  56. Cloning queries in Laravel
  57. Ignore and acknowledge class attribute on elements in CSS
  58. The new Quick Search Text in VS Code is Gooood!
  59. Scraping Google Web Search using ScraperAPI in PHP
  60. Return HTTP response as a collection (Effectively) in Laravel
  61. new features
  62. A free alternative to GitHub Copilot
  63. Talk to websites and PDFs with this free Chrome Extension
  64. RunJS — A JavaScript Playground on your desktop
  65. The fluent data helper in Laravel
  66. Spicing up text with text-emphasis in CSS
  67. Comparing a value against multiple columns the easy way in Laravel
  68. Efficiently deleting millions of records in Laravel
  69. Environment-aware Favicons
  70. Building Dynamic Progress Bars using only CSS
  71. Define Observers and Global Scopes using PHP's Attributes in Laravel
  72. The new "select" method for Laravel Collections
  73. Better help pages for commands in the terminal
  74. LocalSend — An alternative to AirDrop that works everywhere
  75. The new Dumpable trait in Laravel 11
  76. Sticky scroll in VS Code's File Trees
  77. An interactive font changer in VS Code
  78. Quickly inspect the database and its tables in Laravel
  79. How to return multi-line JavaScript code from PHP
  80. Fading content using transparent gradient in CSS
  81. APA-style titles in Laravel
  82. This tool lets you generate slides/keynotes with AI
  83. Stats
  84. Everything I'm using to run this blog

2023 163

  1. Installing Google Fonts as npm packages
  2. Tools to make your developer experience better in PHP
  3. Using abbreviations for long CSS properties in VS Code
  4. Cool wiggly hover animation with CSS
  5. Using Google's Gemini AI in PHP
  6. Convert HTML to PDF using Headless Chrome in PHP
  7. Detect leftovers like dd() and dump() in your Laravel codebase using Pest
  8. Using arrays as a lightweight database in Laravel
  9. Magically add animations to your web apps with AutoAnimate
  10. Auto-generate maintenance mode secret in Laravel
  11. Rendering a website inside GitHub Readme
  12. Real-time Application Performance Monitoring with Laravel Pulse
  13. Tools I use to create images of my code
  14. Using any large JSON as a lazy collection in Laravel
  15. Hollow text hover effect with only three lines of CSS
  16. Checking the type of a string in PHP
  17. What is a Proxy and Why You May Need It?
  18. previous articles
  19. The new Number utility in Laravel
  20. Scroll to validation errors in Laravel using Alpine.js
  21. Skip PHPUnit Tests Conditionally in PHP
  22. Web-based and collaborative terminal sharing with sshx
  23. CSS-Only Reading Progress Bar
  24. GitHub Copilot now generates AI Commit Messages
  25. Response Code Cheat Sheet for Laravel HTTP Client
  26. Upcoming CSS features to make your life easier
  27. Using environment variables in Next.js Frontend
  28. Portable PHP in the Browser using WebAssembly
  29. TablePlus — Is it the best GUI for databases on Linux?
  30. Scoped CSS lands in Chrome 118
  31. Finding the primary branch of a Git Repository
  32. The new light-dark() function to switch theme color in CSS
  33. Honor user's transparency setting in CSS
  34. HTTPS is not necessary in local development
  35. Local HTTPS for Next.js 13.5
  36. Prevent your Laravel application from various attacks using this package
  37. Keybindings to seamlessly hop between terminal and editor in VS Code
  38. Whatever happened to the Zend Framework
  39. The new take() method to form substrings in Laravel
  40. All the ways to turn an array into an object in JavaScript
  41. An introduction to Web Components
  42. Textareas with auto-increasing height using CSS
  43. tail logs in Laravel
  44. The many uses of "..." ellipsis operator in PHP
  45. Pail — A Laravel Package for Tailing Logs
  46. A macro to produce AP-style headings in Laravel
  47. Override Fetch/XHR response in Chrome DevTools
  48. Built-in port forwarding in VS Code
  49. Artisan command to generate views in Laravel
  50. Fail-safe way of accessing environment variables in Laravel
  51. Camel Humps in VS Code
  52. On-the-fly image transformations with Uploadcare in PHP
  53. Managing Git Hooks using Whisky in PHP
  54. All the ways to handle null values in PHP
  55. Explicitly marking subclass methods as "overrides" in PHP 8.3
  56. Pre-defined Absolute and Relative Sized Fonts in CSS
  57. JavaScript Playground in Your Browser
  58. Git Uncommit
  59. Benchmarking a callback and get its return value in Laravel
  60. Trying VS Code themes without installing them
  61. the introduction to Fibers
  62. A practical example of using Fibers in PHP
  63. Catppuccin — My new favorite VS Code theme
  64. this article
  65. A better setTimeout() in JavaScript
  66. The genesis of the "Hello World" programs
  67. Eloquent Strict Mode in Laravel
  68. The fastest way to switch between two branches in Git
  69. Transparent VS Code is a thing!
  70. What happens when you select count(*) in MySQL
  71. Things I write about
  72. Tabbing out of brackets and quotes in VS Code
  73. Using beautiful command prompts in Laravel
  74. Ensure type uniformity of a collection in Laravel
  75. Mixing colors to create variants in CSS
  76. Resume and pause animations in CSS
  77. An introduction to Laravel Folio
  78. Reading large CSV Files as a Collection in Laravel
  79. Useful keyboard shortcuts that work everywhere
  80. Enable hover conditionally in CSS
  81. Mass setting strict types to true using Laravel Pint
  82. The best RSS reader for Linux
  83. Vacation life before Smartphones
  84. Mock JSON API endpoints for Testing
  85. Lightsaber Borders in CSS
  86. Replace Accented Characters with their Plain English Counterparts in JavaScript
  87. All the places where you can use prefers-color-scheme media query
  88. trash — A safer alternative to the rm Command
  89. My early impressions of Threads app by Meta
  90. Using Bright Data's scraping browser to Scrape Web Pages
  91. Global HTTP middleware in Laravel 10.x
  92. Printing raw SQL queries with bindings in Laravel 10.x
  93. Identify unused npm packages in your project
  94. Statically analysing your PHP code using PHPStan
  95. Do not write console logs yourself ever again
  96. Balanced text wrapping is coming to css
  97. Text Wrap Pretty is coming to CSS
  98. Import maps to natively import JavaScript modules using bare names
  99. Publish but without any expectations
  100. The Midnight Companion
  101. has always been there
  102. Dock installable web apps in Safari macOS Sonoma
  103. Conveniently jumping to directories using Aliases in Terminal
  104. How to find mention of your website across the web
  105. Sass-like nesting in native CSS
  106. Validating specific timezones in Laravel
  107. I got access to GitHub Copilot Chat
  108. The new Sleep helper in Laravel 10.x
  109. Postcards from the trip to Kashmir
  110. Cloudflare tunnels for exposing local servers to the internet
  111. Piping system processes in Laravel
  112. Animated Space Background using plain CSS
  113. Suspending and putting a running process in the background in Linux
  114. Rollback a specific migration in Laravel
  115. Ping animation with minimal CSS
  116. Create non-existent files using VS Code
  117. Temporal intervals are handy in MySQL
  118. On breathing
  119. Using PER Coding Style with Laravel Pint
  120. Code explanation using GitHub Copilot
  121. Using existing HasMany relationships as HasOne in Laravel
  122. Checkered background using two lines of code in CSS
  123. An int(11) is not what you think it is in MySQL
  124. A Laravel macro for outputting possessive apostrophes correctly
  125. A handy File method to read JSON files in Laravel 10.x
  126. A tool to generate YouTube chapters in seconds
  127. A practical use case of anonymous classes in PHP
  128. How to stop a React component from rendering
  129. A little memoize function in PHP
  130. installed
  131. Create and download text files using JavaScript
  132. The pipeline helper in Laravel
  133. Change favicon on switching browser tabs in JavaScript
  134. Dynamic URLs with URI templates in Laravel
  135. Bold editor fonts? Yes, please!
  136. Today I Learned — font shorthand in CSS
  137. Animated gradient text in CSS
  138. Dry running Git commands
  139. Conveniently toggle and add Tailwind CSS classes in Chrome DevTools
  140. Building LinkSnatch — A bookmarks app with Next.js and Tailwind CSS
  141. Know why certain composer packages are installed in your project
  142. Store and fetch common application data in Next.js
  143. Style file selector button using CSS
  144. The new helper to generate secure passwords in Laravel 10.x
  145. A hurdle I faced while installing Laravel 10
  146. Change tab bar color dynamically using JavaScript
  147. Classless CSS Frameworks
  148. Put the secondary sidebar of VS Code to good use
  149. Why can not I access an updated state value in React immediately?
  150. Cycle through recent files without using arrow keys in VS Code
  151. Two ways to merge arrays in PHP
  152. Increment value of multiple columns at once in Laravel
  153. Two ways to safely break a long word in HTML
  154. Making existing code more readable using GitHub Copilot
  155. Copy last terminal command to clipboard in Linux and macOS
  156. The setVisible and setHidden Eloquent methods in Laravel 9.x
  157. Upgrade your PHP code to use PHP 8.2 features using Rector
  158. HTTPie — An HTTP client with a pinch of AI magic
  159. Useful macros to make Laravel routes compact
  160. install new extensions
  161. This GNOME extension lets you put text in menubar
  162. Easy shine animation on hover using CSS
  163. Attaching additional notes to a Git commit

2022 126

  1. temporarily save your changes
  2. Stashing individual files in Git
  3. Additional anonymous component paths in Laravel 9.x
  4. Extract every array keys to variables of the same name in PHP
  5. What's new in PHP 8.3 (Features and Improvements)
  6. Open-source tools I use as a developer on Linux
  7. Singleton routes for one-off resources in Laravel 9.x
  8. Take full-size screenshots of websites without any tools in Chrome
  9. PHP type declarations — A guide for beginners
  10. Handling images with inconsistent height in CSS
  11. Convert any value to a boolean in JavaScript
  12. New features of PHP 8.2 in Code Blocks
  13. Using development configuration for local development in Jekyll
  14. Bookmark frequently used folders in Ubuntu
  15. Tracking value of number inputs using CSS
  16. Ability to use Constants in Traits in PHP 8.2
  17. Firefox-only CSS
  18. Probability-based randomness using Lottery class in Laravel 9.x
  19. How to set user paths in Fish Shell
  20. I just self-verified my blog
  21. File validation rule object in Laravel 9.x
  22. Rendering specific fragment of a blade view in Laravel 9.x
  23. Generating slugs using one line of code in JavaScript
  24. Expose local directories to network devices in Node.js
  25. Human-readable date difference in JavaScript
  26. Why send User-Agent while making API calls?
  27. Resolving middlewares statically from controllers in Laravel 9.x
  28. The new alternative mailable syntax in Laravel 9.x
  29. The true type in PHP 8.2
  30. Aliasing destructured variables in JavaScript
  31. The new json_validate() function in PHP 8.3
  32. VS Code Timeline — Your local version control system
  33. Encrypting and decrypting environment files in Laravel 9.x
  34. How to return multiple values from a function in JavaScript
  35. how to conditionally spread objects in JavaScript
  36. Rest vs Spread syntax in JavaScript
  37. Toggling state of the checkbox based on the viewport width in JavaScript
  38. Discard Eloquent model changes in Laravel 9.x
  39. Converting PNG images to WebP using PHP
  40. Running shell commands is dangerously simple in PHP
  41. Enabling password suggestions in password inputs in HTML
  42. Why Developers Choose Cloudways For Laravel Hosting
  43. Sticky scrolling in VS Code
  44. A simple clamp() function in PHP
  45. Better conditionals in CSS media queries with Range Syntax
  46. Check which Composer dependencies requires PHP 8 or 8.1
  47. Capturing images and videos from the camera of mobile devices using HTML
  48. Making glowing focus state for text input using CSS
  49. Accessing Laravel documentation from the terminal
  50. Finding security vulnerabilities in packages using Composer Audit command
  51. How to select the least number of elements in CSS
  52. Retrieve the current PHP version as an integer
  53. The artisan about command in Laravel 9.x
  54. New invokable rule objects in Laravel 9.x
  55. CSS that depends upon JavaScript
  56. Using key prop to reset React components
  57. Natural debouncing using the useDeferredValue hook in React 18
  58. The global faker helper in Laravel 9.x
  59. Do cleanup from useEffect in React.js whenever possible
  60. Plural strings based on the count in Laravel
  61. Detecting slow database operations in Laravel 9.x
  62. Keeping track of the last value of state in React.js
  63. How to validate JSON in Laravel
  64. Make DevTools pick colors outside of Chrome
  65. Expose local Vite instance to the network
  66. How to checkout Git branches interactively
  67. How to use Git Log command efficiently
  68. The new Performance Insights panel in Chrome Dev Tools
  69. Dark-mode aware scrollbars using CSS
  70. Making headers sticky using CSS for a better reading experience
  71. Array to object conversion in JavaScript
  72. Conditionally loading CSS or any resource using media queries
  73. Reduce array of objects to an object in JavaScript
  74. Unpack arrays conditionally in PHP
  75. Implementing Focused Reading Mode on My Blog
  76. how to convert arrays to human-readable lists in JavaScript
  77. The new Arr::join() method in Laravel 9.x
  78. Boolean toggle using useReducer hook in React.js
  79. The new findOr method in Laravel 9.x
  80. readonly properties
  81. Readonly classes in PHP 8.2
  82. Effectively rendering lists in React.js
  83. Null and false can be used as stand-alone types in PHP 8.2
  84. Send emails to a single test email address for test environments in Laravel
  85. Override default 404 behavior in Laravel
  86. Calculate age from the specified date in Carbon
  87. Generate fake files of any size in macOS and Linux
  88. The new squish() helper in Laravel 9.x
  89. Image Borders in CSS
  90. The accent-color CSS Property is Now Widely Supported by Modern Browsers
  91. Wrap string with other strings fluently in Laravel 9.x
  92. HTML-only Keyboard Shortcuts
  93. Implementing scroll snap using only three lines of CSS
  94. Clear all kinds of caches with a single command in Laravel
  95. Console Logging the Right Way
  96. Check if an array of objects contains a certain key-value in JavaScript
  97. Refactoring conditionals to callables in PHP
  98. Using value of state variables right after updating in React.js
  99. Auto dark mode origin trial of Chrome
  100. Curried event handlers in React.js
  101. The new whereNot method in Laravel 9.x
  102. Safely convert any value to boolean in PHP
  103. Array.map() vs Array.forEach() in JavaScript
  104. An Ultimate Guide to Web Application Security
  105. Auto implemented properties in TypeScript
  106. Auto assigning unique key to each child of a list in React
  107. Unlimited function parameters using Rest in JavaScript
  108. Minimizing Google Fonts by Only Loading it for Certain Characters
  109. Avoid relative import paths in TypeScript
  110. Fetch all the available time zones in PHP
  111. The new str() and to_route() helpers in Laravel 9
  112. Why radio buttons are called radio buttons in UIs?
  113. Rebasing PR branches right from GitHub.com
  114. How to use Collections outside of Laravel
  115. Swapping multiple keywords in a string in Laravel
  116. Checking if the user is on the last page of pagination in Laravel 8.x
  117. Cherry picking commits in Git
  118. Implementing dark mode using Tailwind 3.0
  119. Trigger CI/CD deployments using empty Git Commits
  120. Grouping routes by controllers in Laravel 8.x
  121. Reverting back to the original model instance in Laravel
  122. Increasing Productivity with Omni — The Alfred of Chrome
  123. Displaying currency made simple in JavaScript
  124. Quickly switch to new branch with unstaged changes in Git
  125. Hide an image entirely when it does not load in HTML
  126. Fetch commit logs of certain function or method in Git

2021 117

  1. Image magnifier using only one line of CSS
  2. Improved single-method accessors and mutators in Laravel 8.x
  3. My Recap of 2021
  4. Destructure a specific index of an array in JavaScript
  5. Invisible MySQL columns in Laravel 8.x
  6. Handy methods for unauthorized and forbidden responses in Laravel 8.x
  7. Clone repositories without the entire history in Git
  8. Prevent Image Layout Shift Using CSS
  9. Your First Commit Ever
  10. How to Retrieve The Oldest Commit of a GitHub User
  11. New undot() and reverse() methods in Laravel 8.x
  12. Render CSS Based on The Browser Support for Features
  13. Intersection types in PHP 8.1
  14. Quickly convert the PHP 8 codebase to use PHP 8.1 features
  15. Enable bracket pairs guide in VS Code
  16. Allow mass assignment for all the models in Laravel
  17. Run multiple awaits in parallel using Promise.all()
  18. Gradient-y text underlines using CSS
  19. Automatically remove models using Prunable trait in Laravel 8.x
  20. Get the size of the subdirectories and files in Linux
  21. Mask part of a string in Laravel 8.x
  22. Remove local branches which don't have remote counterparts in Git
  23. Render Images Based On Dark or Light Theme Of The Device
  24. How vscode.dev Interacts With User's Local Filesystem?
  25. Gradient-y Box Shadows in CSS
  26. Make any string studly case using Str::headline() in Laravel 8.x
  27. Track Git-style local changes in Chrome Dev Tools
  28. First-class callables in PHP 8.1
  29. Throwing response exceptions conditionally in Laravel 8.x
  30. Check if a PWA is opened as a standalone app or not
  31. Dry running Composer update without actually updating dependencies
  32. Simple blinking cursor animation using CSS
  33. Always destructure your component props in React.js
  34. Custom thumbnails for native video element in HTML
  35. Retrieve request URL without specific query parameters in Laravel
  36. Prevent object extension — Object.freeze() vs Object.seal() vs Object.preventExtensions()
  37. Abort a fetch request manually in JavaScript
  38. How to get class instance without a constructor in PHP
  39. Graceful error handling using Error Boundaries in React.js
  40. constructor property promotion
  41. Initialize objects right into the constructor parameters in PHP 8.1
  42. A cool helper function to check if anything is blank in PHP
  43. Designing websites keeping floating tab bar of Safari 15 (on iOS) in mind
  44. Position children elements in the parent absolutely using CSS
  45. RegEx simplified with named capture groups in JavaScript
  46. Getting subsets of validated data in Laravel 8.x
  47. Why choose React Native for your business?
  48. Avoid relative import paths in React.js using Webpack aliases
  49. Conditional validation rules in Laravel 8.x
  50. console.trace — A better alternative to console.log
  51. Using compact and tidy Git Log
  52. Print media style drop caps using only CSS
  53. Filter certain values from the output of JSON.parse() method
  54. Quickly search keywords in your projects using Git Grep
  55. The new @class Blade directive in Laravel 8.x
  56. Break HTML content into newspaper-like columns using pure CSS
  57. Outputting Eloquent query unparameterized in Laravel
  58. Get all the changes applied by model updates in Laravel
  59. How to represent the number of days in natural language in JavaScript
  60. Checking if array keys are out of order using array_is_list() in PHP 8.1
  61. Global contextual logging in Laravel 8.x
  62. Artisan command to prune stale jobs in Laravel 8.x
  63. Send notifications to non-users of your application in Laravel
  64. Numerical literal separator for better readability in PHP
  65. Constructor assignment of field variables in TypeScript
  66. The new startTransition API to offset expensive renders in React 18
  67. Get your website ready for new tab bar theming of Safari 15
  68. Conditionally executing callbacks using Conditionable trait in Laravel 8.x
  69. Blade stringable to handle objects centrally in Laravel 8.x
  70. Refresh maintenance mode page automatically in Laravel 8.x
  71. Supercharged and clutter-free data fetching using React Query
  72. Quickly switch between recent branches in Git
  73. Variable-length function arguments using spread token in PHP
  74. Quickly sudo-ing the previous command in Bash Shell
  75. extend some of the classes’ functionality
  76. Estimated reading time macro in Laravel
  77. Update URL query parameters as you type in the input using JavaScript
  78. this dedicated page
  79. Creating Keyboard shortcuts of combination of keys in JavaScript
  80. previous article
  81. Verify if entered password is compromised in data leak or not in Laravel 8.x
  82. List down outdated npm packages in your project
  83. Zipping up multiple arrays using array_map in PHP
  84. Asynchronous HTTP client requests are coming in Laravel 8.x
  85. Add auto-completion in Bash terminal using Fish shell
  86. Function properties in JavaScript
  87. Quick tip - Using lightweight pagination in Laravel
  88. Delay dispatching actions in Redux using Thunk middleware
  89. The prohibited validation rule in Laravel 8.x
  90. How to specify default value for props in React.js
  91. Best Ways to Learn How to Code
  92. Moving to a privacy-focused and open-source comment system on my blog
  93. Cleaner exception handling using rescue() helper in Laravel
  94. How to get system timezone for macOS and Linux in PHP
  95. Seeding model rows based on the user input in Laravel
  96. How to use HTML with CSS inside SVG
  97. Dry running Laravel migrations before actually migrating them
  98. Update state of component from other components using React hooks
  99. Remove or omit object properties without mutation in JavaScript
  100. Retrieve HTTP response as a collection in Laravel 8.x
  101. Adding lines conditionally in Laravel's Mail notifications
  102. Mutation-free JSON column updation using AsArrayObject Eloquent cast
  103. Publish now, fix later
  104. Limit the number of returned segments in PHP's explode()
  105. native enums
  106. Tappable and pipeable fluent strings in Laravel 8.x
  107. Array unpacking with string keys coming in PHP 8.1
  108. Smartly auto-correct commands in Git
  109. Retry operations with high probability of failure in Laravel
  110. The query builder's sole() method to validate multiple records in Laravel 8.x
  111. A little known artisan command that can inspire you
  112. How to prevent overlapping of jobs in Laravel
  113. Difference between React.Component and React.PureComponent
  114. Method overloading in PHP
  115. Artisan command to use model instance in controller actions in Laravel
  116. Three lines of CSS to center anything horizontally and vertically
  117. Get native type of a variable using get_debug_type() in PHP 8

2020 174

  1. Aliasing polymorphic types in Laravel's Eloquent
  2. Stories of how softwares/products got their name
  3. Using throw as an expression in PHP 8
  4. Crawl external websites and perform actions using Symfony's BrowserKit
  5. Discover every CSS grid on an HTML page using Chrome
  6. List scheduled commands in CLI in Laravel 8.x
  7. Monitor a Laravel App with Scout APM (Sponsor)
  8. Why You Should Use JavaScript for Game Design
  9. Delaying notifications channel-wise in Laravel 8.x
  10. implement
  11. Implementing pinned posts in Jekyll
  12. Get up and running with Laravel blazing fast using Sail
  13. Make PHPUnit test reports more detailed using TestDox
  14. Run or exclude certain tests in PHPUnit
  15. The get_class() alternative in PHP 8
  16. Execute code outside of transaction only when it commits in Laravel 8.x
  17. match expressions
  18. nullsafe operator
  19. attributes
  20. Artisan command to connect to the database in CLI in Laravel 8.x
  21. Why you should always commit the composer.lock file
  22. Exciting new features and improvements in PHP 8
  23. Throttling submission of form in Laravel
  24. Monitor logs in Laravel Telescope in production environment
  25. Using MySQL explain for queries in Laravel 8.x
  26. Simple and lightweight scaffolding using Breeze in Laravel 8
  27. My first PR in laravel/framework that got merged!
  28. Loop over and include Blade views simultaneously using @each in Laravel
  29. Using .htaccess to access environment variables in PHP
  30. Generate temporary URLs of AWS S3 files in Laravel
  31. How to upgrade legacy codebase to use PHP 8.0 features using Rector
  32. Composer 2.0 — How to upgrade and features overview
  33. Custom Eloquent collections to make queries more readable in Laravel
  34. Insert or update multiple records using upsert in Laravel 8.x
  35. Convert HTML to PDF like a pro using DocRaptor API (Sponsor)
  36. How to use .env values in Laravel Envoy
  37. Gracefully installing global Composer libraries
  38. Binding additional information to views using composers in Laravel
  39. Extending Validator facade for custom validation rules in Laravel
  40. Resolving dependencies conditionally using service container in Laravel
  41. Short functions could be coming in PHP 8.1
  42. Laravel Ecosystem Jargon
  43. Why you should use laravel queues
  44. Catchable queued closures in Laravel 8
  45. Import and export only a function under namespace in PHP
  46. How to pull GitHub repositories as Composer packages in PHP
  47. an entire article
  48. How to use Laravel 7.x model factories in Laravel 8
  49. Prevent spammy form submissions by bots using this Honeypot technique in PHP
  50. How to use Laravel 7 style controller route definitions in Laravel 8
  51. you could do it
  52. New RateLimiter facade for defining named rate limiters in Laravel 8
  53. in this article
  54. customizable maintenance mode views
  55. Access application in maintenance mode using a secret token in Laravel 8
  56. Dynamic blade components in Laravel 8
  57. My workflow for publishing articles
  58. Named function arguments in JavaScript
  59. Re-usable Blade components for Laravel projects using Blade UI Kit
  60. Refactor related macros to classes using Mixins in Laravel
  61. Type annotate arguments for subset of a given type in TypeScript
  62. Difference between Export and Export Default in TypeScript
  63. certain features
  64. Using simple yet effective caching for Laravel queries
  65. Define relationships outside of Eloquent models in Laravel
  66. How to detect fullscreen mode using CSS
  67. Fetch count of records for children relationships in Laravel Eloquent
  68. The difference between for...in & for...of in JavaScript
  69. Making my VS Code minimal and distraction-free
  70. Live reload local Jekyll site in browser on file changes
  71. Expose your local websites to the internet using this open source tool in PHP
  72. Accessing private methods and properties outside of class using reflection in PHP
  73. How to group where constraints in Laravel Eloquent
  74. How to create a two column layout using Flexbox in CSS
  75. in this article
  76. Set default value for attributes in components using @props directive in Laravel
  77. TypeScript's private modifiers Vs. ECMAScript's hash(#) private fields
  78. Check for the application environment in Laravel views
  79. How to check if the API call is failing using Fetch in JavaScript
  80. Creating your own custom conditional directives in Laravel Blade
  81. Things to consider before using arrow functions in JavaScript
  82. Remove event listener once it's invoked in JavaScript
  83. Freeze scroll on arrow key up or down using JavaScript
  84. How I implemented a Konami easter egg on my blog
  85. Using JavaScript-style Promises in PHP
  86. Check if the specific service provider is loaded or not in Laravel
  87. Push to newly created branch without creating an upstream branch in Git
  88. Make function parameters required in vanilla JavaScript
  89. Using Chrome DevTools as a secret code editor
  90. Proposed named arguments in PHP 8
  91. Lesser known Composer tricks and tips you should know
  92. How to include HTML files in Jekyll
  93. The secret way to type-check JavaScript in VS Code
  94. A Beautiful Dream
  95. Make repetitive CSS compact using :is() pseudo-class function
  96. This experimental CSS Overview feature of Chrome is awesome
  97. The many ways to take screenshots on Ubuntu
  98. Get your blog running in seconds with Jekyll in 2020
  99. Change URL query parameters using JavaScript
  100. The mixed type of PHP 8
  101. Tracking model attribute changes in Laravel
  102. Refactor conditions to a method for better readability in PHP
  103. These new string functions are coming in PHP 8
  104. Find the extension of files without extension in Laravel
  105. Non-capturing exception catches in PHP 8
  106. Try not to use ad blockers, please!
  107. Showing current Git branch for the project in command prompt
  108. My absolute favorite VS Code extensions - June 2020
  109. Detect device's OS in JavaScript
  110. Strict typing vs. Weak typing in PHP
  111. Emulate enum-like behavior using string literal types in TypeScript
  112. Conditionally validate request fields in Laravel
  113. Strictly check for null and undefined values in TypeScript
  114. Convert long numbers to short and compact form in JavaScript
  115. How to do type-casting in TypeScript
  116. Using GitHub password in terminal when 2FA is ON
  117. Validating Laravel requests using rule objects
  118. Detecting if device is online or offline using plain JavaScript
  119. Drag and drop files using only JavaScript
  120. Node.js vs Deno — A high-level comparison
  121. How to install Deno on Ubuntu (Linux)
  122. Search through the history of commands in terminal
  123. Components with inline templates in Vue.js
  124. Unpacking inside arrays using spread operator in PHP
  125. Detecting device color scheme automatically in JavaScript
  126. Using ::class static class keyword in PHP
  127. How to pull a composer package in a Laravel project locally
  128. Select React element type using general expressions
  129. How to implement wrapper classes in PHP
  130. Null coalescing assignment operator in PHP
  131. Using custom class as a Facade in Laravel
  132. Create your own custom Blade directive in Laravel
  133. Auto discovery of events in Laravel
  134. Listen to multiple events in a single class in Laravel
  135. Using different mail drivers dynamically in Laravel 7.x
  136. Make images clickable in Jekyll
  137. Log messages directly into the console using Logpoints
  138. The Ultimate Crossover
  139. Post data using streams in PHP
  140. Immediately Invoked Function Expression in PHP
  141. Named slots in Blade components in Laravel 7.x
  142. Best VS Code Dark Themes - 2020 Edition
  143. What's the use of Blob object in JavaScript?
  144. Reordering the sort order on queries in Laravel 7.x
  145. Benefits of using custom exceptions in PHP
  146. Using arrow functions in PHP 7.4
  147. Constructor property promotion could be coming to PHP
  148. Custom validation rules and messages in Laravel form requests
  149. Customizable artisan stubs in Laravel 7
  150. Fluent string operations in Laravel 7
  151. Route model bindings using custom columns in Laravel 7
  152. Computed properties and methods in PHP
  153. Multiple constructors in PHP
  154. Bookmarks feature in PhpStorm is truly a saviour
  155. Using whereNull and whereNotNull in Eloquent Collection in Laravel
  156. Remembering what spaceship operator do on comparison in PHP
  157. Using register_shutdown_function() instead of desctructor in PHP
  158. Convert request parameters to boolean in Laravel
  159. Some lesser known facts of Traits in PHP
  160. Add view within another view in Blade Laravel
  161. When to use finally in exception handling in PHP
  162. Global view data for all actions in Laravel Blade
  163. Add additional attributes in request in Laravel
  164. My Coding Playlist
  165. Little trick to loop through class properties in PHP
  166. Verify if email is from a valid domain in PHP
  167. Identifying even and odd iterations in Laravel Blade
  168. Authenticating certain controller methods in Laravel
  169. This blog is my playground
  170. Check unless condition in custom if blade directive in Laravel
  171. Using objects as arrays (with a real world example) in PHP
  172. Be like a Terminator
  173. Validating dependent attributes in Laravel request
  174. Asynchronous for loops in JavaScript

2019 6

  1. Multiselect-able configuration setting in Magento2
  2. Tech Podcasts I've listened to in 2019
  3. Type checking props using PropTypes in React
  4. Union types php
  5. Reasons to use Composition over Inheritance in PHP
  6. This is why PHP don't have multiple inheritance

Undated 71

  1. Blogroll
  2. Sign my Guestbook
  3. Places
  4. Automatically bind ES6 class functions in callbacks in React
  5. Premature optimization is dangerous
  6. Method chaining in PHP in a nutshell
  7. Why to choose Jekyll for blogging over other platforms
  8. Refactor eloquent queries using higher order messages in Laravel
  9. Things I did to improve my blog over years
  10. Top features of PHP 7.4 Explained!
  11. My favorite PhpStorm tricks and tips that I use daily
  12. Attach, detach and sync many-to-many relationships in Laravel
  13. Dependency Injection vs. Dependency Injection Container in PHP
  14. Nullable types in PHP 7.1
  15. The most easiest and clean way to unset a cookie in PHP
  16. Drop tables, types and views using wipe artisan command in Laravel 6
  17. Reviewing Chernobyl - The HBO miniseries
  18. Adding password confirmation on certain routes in Laravel
  19. The difference between 'elseif' and 'else if' in PHP
  20. Using GitHub as a Content Delivery Network
  21. How to utilize Capsule to use Eloquent ORM outside Laravel
  22. Building API endpoints in Magento2 from scratch
  23. How to pick topics for tech blogging
  24. Using Lazy Collections on memory-hungry operations in Laravel 6
  25. Built-in password hashing and verification in PHP
  26. The native ad blocker in Chrome you don't know about
  27. Supercharge array operations using Set in JavaScript
  28. Process model records in chunks in Laravel
  29. Better error handling in core PHP functions using Safe PHP
  30. A look into Getters and Setters in JavaScript
  31. Late static binding in PHP - What, How & When
  32. Understanding Constructor and Method dependency injection in Laravel
  33. A deep dive into Generators in PHP
  34. Get grandparent instance of certain class in PHP
  35. Fetch and calculate tax details anywhere within Magento 2
  36. Serialize Closures in PHP using this neat package
  37. Fetch results based on the existence of the relationship in Laravel Eloquoent
  38. Conditional attributes and relationships in Laravel Resources
  39. Reusable code snippets using Live Templates in PHPStorm
  40. Codelobster IDE - A free PHP, HTML, CSS, JavaScript editor (Sponsor)
  41. A closer look at Invokable classes in PHP
  42. Logout from every devices except the currently logged in one in Laravel
  43. PHP 7.4 will support first-class property type declarations
  44. Laravel Route Model Bindings - Implicit Vs. Explicit Binding
  45. Attribute casting in Laravel Eloquent
  46. JavaScript functions' implementation inspired by PHP and Laravel
  47. Implement Invite-only registrations using Laravel's signed URLs
  48. Fetching dynamic attributes for models on-the-fly in Laravel
  49. Eventual consistency illustrated!
  50. Happy 30th dear web!
  51. Introducing Reverie - A ridiculously elegant Jekyll theme for blogging
  52. Get all admin users as an array in Magento 2
  53. Packages to make your Laravel development experience awesome.
  54. Best VS Code themes - January 2019
  55. Build your own Laravel artisan commands for your project
  56. How to subscribe at amitmerchant.com
  57. 5 must have things for your Jekyll powered blog
  58. Top fetaures of PHP 7.3
  59. How my simple notepad app went from zero to 10k users monthly
  60. My current setup (2018 edition)
  61. Array destructuring in PHP
  62. The ideal Git workflow
  63. My favorite VS Code themes for September 2018
  64. Using private repositories as a composer package in PHP
  65. TIL - How to fix embedded scripts in Progressive Web Apps
  66. Laravel - Accessors & Mutators
  67. Laravel Eager Loading - load() Vs. with()
  68. TIL - Using "Box Model" of Chrome Dev Tools
  69. Building a simple offline-capable Notepad app using ServiceWorker
  70. Getting started with Electron
  71. Hello world!