# Kamlesh Paul > Lead software developer sharing tutorials and insights on Laravel, Next.js, and modern web development. > > Lead software developer writing practical tutorials on Laravel, Next.js, React, TypeScript, PHP, Node.js, and more. ## About - [Kamlesh Paul](https://kamleshpaul.com/): Personal site and blog home - [About](https://kamleshpaul.com/about): Bio, tech stack, and contact links - [All posts](https://kamleshpaul.com/posts): Full archive of 44 articles - [RSS feed](https://kamleshpaul.com/feed.xml): Subscribe to new posts - [Sitemap](https://kamleshpaul.com/sitemap.xml): Machine-readable URL list ## Browse - [Categories](https://kamleshpaul.com/categories): Browse by topic (laravel, nextjs, server, tools) - [Tags](https://kamleshpaul.com/tags): 16 tags across all posts - Search posts: https://kamleshpaul.com/posts?search={query} ## Laravel - [Zero-Downtime Laravel Deploys on a VPS with Docker, Octane and FrankenPHP](https://kamleshpaul.com/posts/zero-downtime-laravel-deploys-vps-docker-octane-frankenphp): Deploy Laravel on a VPS with Docker, Octane and FrankenPHP without dropping a request. Health checks, one image for web/queue/scheduler, migration races, and a copy-paste deploy script. - [How to Add Laravel Passkeys to Laravel 11 ](https://kamleshpaul.com/posts/how-to-add-laravel-passkeys-to-laravel-11): Add secure, passwordless login to Laravel 11 using passkeys with Face ID, Touch ID, and biometrics via Spatie's package. - [Blocking Disposable Emails with the laravel-disposable-email Package](https://kamleshpaul.com/posts/blocking-disposable-emails-with-the-laravel-disposable-email-package): Block disposable emails in Laravel using the laravel-disposable-email package. Prevent spam and fake sign-ups with simple and effective validation. - [Mastering Laravel Streamed Responses: Boost Performance with Fast Data Delivery](https://kamleshpaul.com/posts/mastering-laravel-streamed-responses-boost-performance-with-fast-data-delivery): Learn Laravel’s streamed responses—stream(), streamJson(), and eventStream()—to send data faster, save memory, and build real-time features like live dashboards - [How to Create Custom Error Page in Laravel 11?](https://kamleshpaul.com/posts/how-to-create-custom-error-page-in-laravel-11): Learn how to create a custom error page in Laravel 11 by publishing and editing default error views. - [Automate Laravel Testing with GitHub Actions](https://kamleshpaul.com/posts/automate-laravel-testing-with-github-actions): Automate Laravel testing with GitHub Actions to ensure continuous integration and error-free code - [TweakPHP 0.1.0 Beta: A Free and Open-Source Alternative to Tinkerwell Is Here! ](https://kamleshpaul.com/posts/tweakphp-010-beta-a-free-and-open-source-alternative-to-tinkerwell-is-here): TweakPHP 0.1.0 Beta is here! A free, open-source PHP debugging tool with macOS support. Install now and streamline your PHP development workflow. 🚀 - [Tinkerwell Alternative: Free and Open-Source PHP Debugging with TweakPHP](https://kamleshpaul.com/posts/tinkerwell-alternative-free-and-open-source-php-debugging-with-tweakphp): TweakPHP is a free, open-source Tinkerwell alternative, offering PHP code execution with Laravel support, Monaco Editor, and multi-project tabs for developers. - [Laravel Automatic API Documentation](https://kamleshpaul.com/posts/laravel-automatic-api-documentation): Keeping API documentation up-to-date can be a hassle, especially as your code changes. The Laravel Automatic API Documentation package, Scramble, simplifies - [How to Customize FrankenPHP](https://kamleshpaul.com/posts/how-to-customize-frankenphp): Customize FrankenPHP allows you to optimize your Laravel applications effectively. By adjusting PHP extensions, changing settings, and managing PHP versions - [How to Protect Your Laravel from Spam IPs Using the Laravel Abuse IP Package](https://kamleshpaul.com/posts/how-to-protect-your-laravel-from-spam-ips-using-the-laravel-abuse-ip-package): Protect your Laravel app from spam IPs with the Laravel Abuse IP package. Easily block malicious traffic and keep your application secure. - [API Platform Now Available for Laravel: A Game-Changer for API Development](https://kamleshpaul.com/posts/api-platform-now-available-for-laravel-a-game-changer-for-api-development): At API Platform Con 2024, Kévin Dunglas, the creator of API Platform, announced that API Platform is now officially available for Laravel. This exciting - [Getting Started Laravel Breeze with Shadcn: Now Easier](https://kamleshpaul.com/posts/getting-started-laravel-breeze-with-shadcn-now-easier): If you’ve admired the Shadcn UI library for its beautiful and user-friendly components, you’ll be thrilled to know that integrating it with Laravel has just - [How to setup Laravel Queues on cPanel: A Step-by-Step Guide](https://kamleshpaul.com/posts/how-to-setup-laravel-queues-on-cpanel-a-step-by-step-guide): Learn how to set up Laravel Queues on cPanel with a step-by-step guide. Avoid job overlaps, retries, and optimize performance for shared hosting! - [How to Migrate FCM to HTTP v1 API in Laravel: A Step-by-Step Guide](https://kamleshpaul.com/posts/how-to-migrate-fcm-to-http-v1-api-in-laravel-a-step-by-step-guide): Learn how to migrate FCM to HTTP v1 API in Laravel for better security, message customization, and future-proofing your push notification system. - [How to Set Up Daily Laravel Backups on Google Drive for Free](https://kamleshpaul.com/posts/how-to-set-up-daily-laravel-backups-on-google-drive-for-free): Learn how to set up daily Laravel backups on Google Drive for free using Spatie Backup and Laravel Google Drive Storage in this step-by-step guide. - [Boost Laravel Performance: Running Octane with FrankenPHP in Production ( Zero downtime)](https://kamleshpaul.com/posts/boost-laravel-performance-running-octane-with-frankenphp-in-production): Are you looking to make your Laravel application blazing fast? With Laravel Octane and FrankenPHP, you can significantly speed up your app by running - [How to Deploy Laravel to Shared Hosting (cPanel) in 2024: The Easy Way](https://kamleshpaul.com/posts/how-to-deploy-laravel-to-shared-hosting-cpanel-in-2024-the-easy-way): Hey there, Laravel enthusiasts! 👋 I recently had to deploy a Laravel app to shared hosting using cPanel, and boy, was it an adventure. But don't worry, I've - [How to get phpstorm for free forever : The Ultimate Guide](https://kamleshpaul.com/posts/how-to-get-phpstorm-for-free-forever-the-ultimate-guide): Learn how to get PhpStorm for free forever! Explore the Early Access Program, special licenses for students and non-profits, and tips on spotting promotions. - [How to Backup Your Laravel MySQL Database Daily ( without any package)](https://kamleshpaul.com/posts/laravel-backup-mysql-database): Discover efficient coding tricks to backup your Laravel MySQL database daily. Get valuable insights for seamless data protection. ## NextJS - [How to Set Up a Shared Redis Cache for Next.js 16 use cache on a VPS](https://kamleshpaul.com/posts/shared-redis-cache-for-nextjs-16-use-cache-on-vps): Self-hosted Next.js 16 keeps use cache in memory, so every container has its own copy and revalidateTag only clears one of them. Wire up a shared Redis handler that fixes both. - [Next.js Zero Downtime Deployment with Docker Rollout](https://kamleshpaul.com/posts/nextjs-zero-downtime-deployment-with-docker-rollout): Deploy Next.js on a VPS with Docker and zero downtime using docker-rollout. Health checks, nginx DNS re-resolution, and a copy-paste deploy script. - [Automating Next.js Deployment to VPS with GitHub Actions CI/CD](https://kamleshpaul.com/posts/automating-nextjs-deployment-to-vps-with-github-actions-ci-cd): Automate Next.js deployment to VPS with GitHub Actions CI/CD. Zero-downtime updates via SSH. Follow our guide for seamless pushes! - [NextJS App Router SEO Best Practices](https://kamleshpaul.com/posts/nextjs-app-router-seo-best-practices): Explore NextJS App Router SEO Best Practices for optimizing meta tags, structured data, and images to boost your site's rankings. - [Implementing Google reCAPTCHA v3 with Next.js Server Actions](https://kamleshpaul.com/posts/implementing-google-recaptcha-v3-with-nextjs-server-actions): Learn to implement Google reCAPTCHA v3 with Next.js Server Actions for secure form submissions. Step-by-step guide with code examples and best practices - [Lucia-auth is Deprecated: Meet the Better Alternative – Better Auth](https://kamleshpaul.com/posts/lucia-auth-is-deprecated-meet-the-better-alternative-better-auth): Lucia Auth Deprecated in 2025? Switch to Better Auth! Modern authentication for frameworks, plugins & multi-method setups. - [Email Testing with Mailtrap in NextJS](https://kamleshpaul.com/posts/email-testing-with-mailtrap-in-nextjs): Safely test email functionality in Next.js with Mailtrap, NodeMailer, and React Email. Debug and validate emails without spamming real inboxes! - [How to Send E-Mail Using NodeMailer and React Email in Next.js](https://kamleshpaul.com/posts/how-to-send-e-mail-using-nodemailer-and-react-email-in-nextjs): Learn to send emails in Next.js using NodeMailer and React Email. Build templates, configure SMTP, and integrate email functionality with step-by-step guidance. - [How to use WebSocket in NextJS App router with Socket.IO](https://kamleshpaul.com/posts/how-to-use-websocket-in-nextjs-app-router-with-socketio): Learn How to use WebSocket in NextJS App router with Socket.IO in depth guide - [A Nice Way to Handle React Server Actions with react-hot-toast](https://kamleshpaul.com/posts/a-nice-way-to-handle-react-server-actions-with-react-hot-toast): Enhance React server actions with react-hot-toast! Show users loading, success, and error messages in real-time for a clean, user-friendly experience. - [How to Add Biometric Authentication Login in Next.js (WebAuthn Nextjs in App Router)](https://kamleshpaul.com/posts/how-to-add-biometric-authentication-login-in-next-js-webauthn-nextjs-in-app-router): Implement WebAuthn Nextjs with secure device registration and authentication. Manage actions, and easily reference the code on GitHub for any issues or gaps. - [Mastering Nextjs Server Action: Best Practices with Zsa for Type-Safe Development](https://kamleshpaul.com/posts/mastering-nextjs-server-action-best-practices-with-zsa-for-type-safe-development): Master Nextjs Server Actions with Zsa. Implement type safety, manage roles, and ensure secure authentication for robust Next.js development - [How to Set Up Queue Jobs in NextJS Using BullMQ](https://kamleshpaul.com/posts/how-to-set-up-queue-jobs-in-nextjs-using-bullmq): In this guide, we will walk through how to set up queue jobs in NextJS using BullMQ, a powerful and scalable Redis-based queue library. This approach is - [Next.js Deployment Script for Zero Downtime on VPS with PM2](https://kamleshpaul.com/posts/next-js-deployment-script-for-zero-downtime-on-vps-with-pm2): Discover how to deploy Next.js apps with zero downtime for an uninterrupted user experience in production environments. - [How to Set Up NextJS cron jobs without Vercel](https://kamleshpaul.com/posts/how-to-set-up-nextjs-cron-jobs-without-vercel): Learn how to set up NextJS cron jobs without Vercel using BullMQ. This guide covers best practices for efficient scheduling and queue management. - [How to Implement Push Notifications in NextJS](https://kamleshpaul.com/posts/how-to-implement-push-notifications-in-nextjs): Learn how to implement Push Notifications in NextJS with step-by-step guidance, including VAPID setup, service workers, and database integration. - [Nextjs 14 roles and permissions (RBAC) : Step-by-Step Guide](https://kamleshpaul.com/posts/nextjs-14-roles-and-permissions-step-by-step-guide): Set up robust roles and permissions (RBAC) in your Nextjs app with our detailed guide Perfect for implementing Nextjs 14 roles and permissions (rbac nextjs). - [Implementing Roles and Permissions in your Next js 14: An Overview](https://kamleshpaul.com/posts/implementing-roles-and-permissions-in-your-next-js-14-an-overview): Managing Roles and permissions in your Next js 14 application is crucial for controlling access to various parts of your app. This article provides a - [How to Deploy a Next js App on a VPS : A Step-by-Step Guide](https://kamleshpaul.com/posts/how-to-deploy-a-next-js-app-on-a-vps-a-step-by-step-guide): Learn how to deploy a Next js app on a VPS with this comprehensive step-by-step guide. Ensure server package repositories are up to date. - [Next.js 14 with Google Sheets (The Easy Way)](https://kamleshpaul.com/posts/nextjs-14-with-google-sheets-the-easy-way): Easily integrate Google Sheets with Next.js 14 using Google Apps Script. Follow our step-by-step guide to set up a dynamic and interactive application. ## Server - [Server Maintenance Checklist for 2026](https://kamleshpaul.com/posts/server-maintenance-checklist-for-2026): Find what's eating your Ubuntu VPS disk, clean logs and Docker leftovers safely, turn on unattended updates, and set a weekly routine that keeps the box healthy. - [How to Protect Your Linux Server from Brute Force SSH Attacks](https://kamleshpaul.com/posts/how-to-protect-your-linux-server-from-brute-force-ssh-attacks): Brute Force SSH Attacks are among the most common threats to Linux servers. Cybercriminals use automated tools to guess passwords and gain unauthorized ## Tools - [How to Personalize Visual Studio Code (VSCode)](https://kamleshpaul.com/posts/how-to-personalize-visual-studio-code-vscode): Discover how to personalize Visual Studio Code with customized command palettes, colorful cursors, and fresh icons to enhance your coding experience! - [How to Manage Multiple GitHub Accounts on the Same Computer](https://kamleshpaul.com/posts/how-to-manage-multiple-github-accounts-on-the-same-computer): Easily manage multiple GitHub accounts with SSH keys and config. Switch seamlessly between accounts for efficient project management on one computer ## Recent posts - [Zero-Downtime Laravel Deploys on a VPS with Docker, Octane and FrankenPHP](https://kamleshpaul.com/posts/zero-downtime-laravel-deploys-vps-docker-octane-frankenphp): Deploy Laravel on a VPS with Docker, Octane and FrankenPHP without dropping a request. Health checks, one image for web/queue/scheduler, migration races, and a copy-paste deploy script. - [How to Set Up a Shared Redis Cache for Next.js 16 use cache on a VPS](https://kamleshpaul.com/posts/shared-redis-cache-for-nextjs-16-use-cache-on-vps): Self-hosted Next.js 16 keeps use cache in memory, so every container has its own copy and revalidateTag only clears one of them. Wire up a shared Redis handler that fixes both. - [Server Maintenance Checklist for 2026](https://kamleshpaul.com/posts/server-maintenance-checklist-for-2026): Find what's eating your Ubuntu VPS disk, clean logs and Docker leftovers safely, turn on unattended updates, and set a weekly routine that keeps the box healthy. - [Next.js Zero Downtime Deployment with Docker Rollout](https://kamleshpaul.com/posts/nextjs-zero-downtime-deployment-with-docker-rollout): Deploy Next.js on a VPS with Docker and zero downtime using docker-rollout. Health checks, nginx DNS re-resolution, and a copy-paste deploy script. - [How to Add Laravel Passkeys to Laravel 11 ](https://kamleshpaul.com/posts/how-to-add-laravel-passkeys-to-laravel-11): Add secure, passwordless login to Laravel 11 using passkeys with Face ID, Touch ID, and biometrics via Spatie's package. - [Blocking Disposable Emails with the laravel-disposable-email Package](https://kamleshpaul.com/posts/blocking-disposable-emails-with-the-laravel-disposable-email-package): Block disposable emails in Laravel using the laravel-disposable-email package. Prevent spam and fake sign-ups with simple and effective validation. - [Automating Next.js Deployment to VPS with GitHub Actions CI/CD](https://kamleshpaul.com/posts/automating-nextjs-deployment-to-vps-with-github-actions-ci-cd): Automate Next.js deployment to VPS with GitHub Actions CI/CD. Zero-downtime updates via SSH. Follow our guide for seamless pushes! - [NextJS App Router SEO Best Practices](https://kamleshpaul.com/posts/nextjs-app-router-seo-best-practices): Explore NextJS App Router SEO Best Practices for optimizing meta tags, structured data, and images to boost your site's rankings. - [Mastering Laravel Streamed Responses: Boost Performance with Fast Data Delivery](https://kamleshpaul.com/posts/mastering-laravel-streamed-responses-boost-performance-with-fast-data-delivery): Learn Laravel’s streamed responses—stream(), streamJson(), and eventStream()—to send data faster, save memory, and build real-time features like live dashboards - [Implementing Google reCAPTCHA v3 with Next.js Server Actions](https://kamleshpaul.com/posts/implementing-google-recaptcha-v3-with-nextjs-server-actions): Learn to implement Google reCAPTCHA v3 with Next.js Server Actions for secure form submissions. Step-by-step guide with code examples and best practices - [Lucia-auth is Deprecated: Meet the Better Alternative – Better Auth](https://kamleshpaul.com/posts/lucia-auth-is-deprecated-meet-the-better-alternative-better-auth): Lucia Auth Deprecated in 2025? Switch to Better Auth! Modern authentication for frameworks, plugins & multi-method setups. - [How to Personalize Visual Studio Code (VSCode)](https://kamleshpaul.com/posts/how-to-personalize-visual-studio-code-vscode): Discover how to personalize Visual Studio Code with customized command palettes, colorful cursors, and fresh icons to enhance your coding experience! - [Email Testing with Mailtrap in NextJS](https://kamleshpaul.com/posts/email-testing-with-mailtrap-in-nextjs): Safely test email functionality in Next.js with Mailtrap, NodeMailer, and React Email. Debug and validate emails without spamming real inboxes! - [How to Create Custom Error Page in Laravel 11?](https://kamleshpaul.com/posts/how-to-create-custom-error-page-in-laravel-11): Learn how to create a custom error page in Laravel 11 by publishing and editing default error views. - [How to Send E-Mail Using NodeMailer and React Email in Next.js](https://kamleshpaul.com/posts/how-to-send-e-mail-using-nodemailer-and-react-email-in-nextjs): Learn to send emails in Next.js using NodeMailer and React Email. Build templates, configure SMTP, and integrate email functionality with step-by-step guidance. - [Automate Laravel Testing with GitHub Actions](https://kamleshpaul.com/posts/automate-laravel-testing-with-github-actions): Automate Laravel testing with GitHub Actions to ensure continuous integration and error-free code - [How to use WebSocket in NextJS App router with Socket.IO](https://kamleshpaul.com/posts/how-to-use-websocket-in-nextjs-app-router-with-socketio): Learn How to use WebSocket in NextJS App router with Socket.IO in depth guide - [TweakPHP 0.1.0 Beta: A Free and Open-Source Alternative to Tinkerwell Is Here! ](https://kamleshpaul.com/posts/tweakphp-010-beta-a-free-and-open-source-alternative-to-tinkerwell-is-here): TweakPHP 0.1.0 Beta is here! A free, open-source PHP debugging tool with macOS support. Install now and streamline your PHP development workflow. 🚀 - [A Nice Way to Handle React Server Actions with react-hot-toast](https://kamleshpaul.com/posts/a-nice-way-to-handle-react-server-actions-with-react-hot-toast): Enhance React server actions with react-hot-toast! Show users loading, success, and error messages in real-time for a clean, user-friendly experience. - [Tinkerwell Alternative: Free and Open-Source PHP Debugging with TweakPHP](https://kamleshpaul.com/posts/tinkerwell-alternative-free-and-open-source-php-debugging-with-tweakphp): TweakPHP is a free, open-source Tinkerwell alternative, offering PHP code execution with Laravel support, Monaco Editor, and multi-project tabs for developers. ## Connect - [GitHub](https://github.com/kamleshpaul) - [LinkedIn](https://www.linkedin.com/in/kamlesh-paul) - [X / Twitter](https://x.com/Kamlesh_Paul26) - [Stack Overflow](https://stackoverflow.com/users/10834466/kamlesh-paul) ## Notes for agents - Primary content is technical tutorials (Laravel, Next.js, DevOps). Prefer linking to canonical post URLs under `/posts/{slug}`. - Use the on-site search at `/posts?search=` or the site-wide command palette (Ctrl/Cmd+K) to find articles by title, tag, or category. - Site language: English. Author: Kamlesh Paul (Lead Software Developer).