Skip to content
The ERAG Blog

Build better Laravel apps, one real problem at a time.

Hands-on guides for Laravel, Inertia, Vue and React. Every post starts with a problem you will actually run into, like fake sign-ups, messy phone numbers or untranslated error messages, and ends with working code you can drop into your app today.

102 articles

GuideVue Toastification

Does Vue Toastification Work With Vue 3? Install It, Fix the npm Error or Migrate

Does vue-toastification work with Vue 3? Yes, via vue-toastification@next. Install it, fix the ERESOLVE error, compare Vue 3 toast libraries or migrate.

· 12 min read
TutorialLaravel Disposable Email

Filament: Block Disposable Emails on the Register Page, Profile Page and Resource Forms

Block disposable emails in Filament with one validation rule on a TextInput, the Filament 5 Register page, the profile page and resource forms. Tests included.

· 10 min read
TutorialLaravel Inertia Toast

Inertia v3 Error Handling in Laravel: Replace the Error Modal With Toasts for 403, 419 and 500

Inertia v3 error handling in Laravel: handleExceptionsUsing, httpException and networkError, with 403, 419, 429 and 500 errors shown as toasts, not modals.

· 13 min read
Comparison

Laravel 13 Starter Kits Explained: Frontends, Teams, WorkOS and When You Need a SaaS Kit

Laravel 13 starter kits explained: the laravel new prompts, React vs Vue vs Svelte vs Livewire, Teams, WorkOS and passkeys, and when a SaaS starter kit fits.

· 10 min read
TutorialLaravel Lang Sync Inertia

Laravel in French: Validation Messages, Elision and Plurals in Inertia Vue and React (fr)

Laravel validation messages in French: add the fr locale with lang:add fr, fix elision and plural quirks, then show the text in Inertia Vue and React.

· 16 min read
TutorialLaravel PWA

Laravel Inertia PWA: Turn a Vue or React Inertia App Into a Progressive Web App

Build a Laravel Inertia PWA with Vue or React: where the directives go in app.blade.php, how to handle offline clicks, and when vite-plugin-pwa fits better.

· 12 min read
Guide

Laravel Livewire SaaS Starter Kit: A Tour, Plus Wave, SaaSykit and Larafast Compared

Laravel Livewire SaaS starter kit: Livewire 4 and Flux UI on a database-per-tenant Laravel 13 backend for $49, compared with Wave, SaaSykit and Larafast.

· 12 min read
Tutorial

Laravel Multi-Tenant CRUD: Keep Every Tenant's Records Apart, Step by Step

Build a Laravel multi-tenant CRUD: tenant_id with a global scope, or a database per tenant, then a full tenant-scoped Projects CRUD in a SaaS starter kit.

· 19 min read
GuideLaravel PWA

Laravel PWA Icons and Splash Screens: Maskable Icons for Android, Launch Images for iPhone

Set up Laravel PWA icons and splash screens: 192 and 512 icons, a maskable icon for Android, and apple-touch-startup-image launch images for iPhone and iPad.

· 12 min read
TutorialLaravel Inertia Forms

Laravel Registration Form With Inertia: Password Confirmation, Terms and Validation

Build a Laravel registration form with Inertia in Vue or React: password confirmation, a terms checkbox and validation from one PHP class, Fortify optional.

· 12 min read
Guide

Laravel SaaS Starter Kit Prices Compared: Spark, SaaSykit, Larafast, Wave and SaaS Laravel

Laravel SaaS starter kit prices compared: Spark, SaaSykit, Larafast, Wave, LaraSpeed and SaaS Laravel ($49 to $139), plus how to pick the kit to buy.

· 11 min read
Tutorial

Laravel SaaS Starter Kit Setup: Clone, Configure and Create Your First Tenant Step by Step

Laravel SaaS starter kit setup, step by step: get repo access, clone, set .env, migrate and seed, serve subdomains with Herd and create your first tenant.

· 14 min read
TutorialText Editor React

Next.js Rich Text Editor in 2026: Which One to Pick and How to Save Its HTML Safely

Compare Next.js rich text editors (Tiptap, Lexical, Quill, CKEditor, TinyMCE, text-editor-react), then set one up in the App Router and save the HTML safely.

· 14 min read
TutorialText Editor Vue

Nuxt Rich Text Editor: Nuxt UI Editor, Tiptap or text-editor-vue, and How to Save the HTML

Compare Nuxt rich text editors (Nuxt UI Editor, nuxt-tiptap-editor, Tiptap, text-editor-vue), then add one with v-model, a server route and sanitized HTML.

· 13 min read
TutorialPhone Number React

React Hook Form Phone Number Validation: Controller, Zod and E.164 for Laravel

React Hook Form phone number validation with Zod: use Controller with react-phone-number-input or a headless hook, show errors and send E.164 to Laravel.

· 14 min read
TutorialPhone Number Vue

VeeValidate Phone Number Validation in Vue 3 With Zod or Yup and a Country Picker

VeeValidate phone number validation in Vue 3: useField with Zod or Yup, a reusable defineRule phone rule, shadcn-vue forms and E.164 sent to Laravel.

· 14 min read
TutorialLaravel Lang Sync Inertia

Laravel in Brazilian Portuguese (pt_BR): Validation, Auth and Page Translations

Laravel pt_BR translations in Inertia React: set APP_LOCALE=pt_BR, share Brazilian Portuguese validation and auth messages with syncLangFiles() and reactLang().

· 15 min read
TutorialLaravel Lang Sync Inertia

Laravel in Spanish: Translate Validation, Auth and UI Text in Minutes (es)

Laravel validation messages in Spanish for Inertia Vue: set the es locale, share lang/es validation, auth and button text with syncLangFiles() and __().

· 15 min read
GuideLaravel Lang Sync Inertia

Laravel lang Folder Missing? How to Add Language Files in Laravel 11, 12 and 13

Laravel lang folder missing? Run php artisan lang:publish to create lang/en, then use the same translations in Inertia Vue or React pages with one __() helper.

· 11 min read
TutorialLaravel Lang Sync Inertia

Laravel Svelte Translations: Use Laravel Lang Files in Svelte 5 With Inertia

Laravel Svelte translations with Inertia v3: read Laravel lang files in Svelte 5 with svelteLang(), add a language switcher, plurals and translated errors.

· 14 min read
GuideLaravel Lang Sync Inertia

Ran php artisan lang:add? Show the New Language in Your Inertia Vue and React Pages

Ran php artisan lang:add? Show the new language in your Inertia Vue and React pages with syncLangFiles(), a locale middleware, a switcher and a Pest test.

· 11 min read
TutorialLaravel Lang Sync Inertia

Translate "These credentials do not match our records" and Other Laravel Auth Messages

Translate "These credentials do not match our records" and other Laravel auth messages, then use them in Inertia Vue or React pages with syncLangFiles and __().

· 14 min read
TutorialLaravel Lang Sync Inertia

Translate Laravel Error Pages (404, 403, 500) in Inertia Vue and React

Laravel Inertia error pages in any language: write titles in lang/errors.php and render a translated 404, 403 or 500 page in Vue or React with Inertia v3.

· 14 min read
TutorialLaravel Lang Sync Inertia

Translate Laravel Pagination Links and "Showing 1 to 10 of 50 Results" in Vue and React

Laravel pagination translation for Inertia Vue and React: share pagination.php with syncLangFiles() and render Previous, Next and Showing 1 to 10 of 50 results.

· 16 min read
TutorialLaravel Lang Sync Inertia

Translate Save, Cancel and Delete Buttons in Laravel Vue and React Apps (laravel-lang/actions)

Translate buttons in Laravel Vue and React apps: share your actions.php, or the one from laravel-lang/actions, with Inertia and write __('actions.save').

· 13 min read
TutorialLaravel Lang Sync Inertia

Use laravel-lang/lang Translations in Inertia Vue and React With One Helper

Use laravel-lang/lang translations in Inertia Vue and React pages with Laravel Lang Sync Inertia: one syncLangFiles() call, one __() helper, no JSON copies.

· 13 min read
TutorialLaravel Inertia Forms

Build a Laravel Settings Page: Store App Settings in the Database, Cache Them and Edit Them With Toggles

Build a Laravel settings page: store app settings in a database table, cache them with rememberForever, and let admins edit toggles and key-value fields.

· 16 min read
TutorialText Editor Vue

Embed YouTube Videos in a Vue or React Rich Text Editor in 6 Steps (With a Safe Laravel Backend)

Embed YouTube videos in a rich text editor for Vue or React. Turn on the media plugin, paste the embed URL, allow trusted hosts in Laravel and show 16:9 frames.

· 15 min read
TutorialLaravel Inertia Forms

How to Generate a Unique Slug From a Title in Laravel 13 (With an Auto-Updating Slug Field)

Laravel slug guide: generate a slug from a title with Str::slug(), keep it unique, route by slug, redirect old URLs and auto-fill a slug field.

· 18 min read
TutorialLaravel Disposable Email

Laravel API Email Validation: Return 422 JSON Errors and Block Disposable Emails (Laravel 13)

Laravel API email validation with Form Requests: return clean 422 JSON errors, change the error format, block disposable emails and test it all with Pest.

· 14 min read
TutorialLaravel Inertia Forms

Laravel Contact Form Tutorial: Validate, Send Email and Stop Spam (Laravel 13, Vue or React)

Build a Laravel contact form that validates input, sends email with a queued Mailable, stops spam with a honeypot and rate limit, and works in Vue or React.

· 14 min read
TutorialLaravel Disposable Email

Laravel Newsletter Subscription and Waitlist Form With Double Opt-In (Laravel 13)

Laravel newsletter subscription and waitlist form with double opt-in, signed links, one-click unsubscribe, a launch email and fake email blocking.

· 16 min read
TutorialLaravel Inertia Forms

Laravel Page Builder Tutorial: Drag-and-Drop Content Blocks With Inertia (Vue or React)

Laravel page builder tutorial: save content blocks as JSON, let editors add and drag hero, text, image and CTA sections, then render them in Vue or React.

· 18 min read
GuideLaravel PWA

Laravel PWA Not Installable? Fix the Install Prompt, Manifest and Service Worker

Laravel PWA not installable? Read Chrome's Installability errors, fix manifest icons, HTTPS and service worker issues, and get the install prompt showing.

· 16 min read
TutorialLaravel Inertia Toast

Laravel React CRUD Tutorial: Laravel 13, Inertia v3 and React 19, Step by Step

Laravel React CRUD tutorial for Laravel 13, Inertia v3 and React 19: model, validation, pagination, search, toasts and delete confirmation, step by step.

· 23 min read
TutorialLaravel Lang Sync Inertia

Laravel RTL Support in 8 Steps: Arabic and Urdu in Inertia Vue and React Apps

Laravel RTL support for Arabic and Urdu in Inertia Vue and React apps. Set dir on the html tag, use Tailwind logical classes, flip icons and format numbers.

· 15 min read
TutorialLaravel Inertia Forms

Laravel Survey Form Tutorial: Build a Feedback Form With Ratings, NPS and a Results Page (Vue or React)

Build a Laravel survey form with Inertia: rating buttons, multiple choice, a 0-10 NPS score and comments. Save one response per user and show the results.

· 17 min read
TutorialLaravel Inertia Forms

Laravel Tags Input Tutorial: Add, Validate and Store Tags With Inertia (Vue and React)

Add a Laravel tags input to Inertia forms in Vue or React: validate the tags array, store tags as JSON or with belongsToMany sync(), and filter posts by tag.

· 13 min read
TutorialPhone Number Vue

Laravel WhatsApp Number Input: Country Codes, Validation and wa.me Chat Links (Vue and React)

Laravel WhatsApp number input for Vue and React: add a country code picker, validate E.164 with consent and build wa.me click-to-chat links in PHP and JS.

· 15 min read
TutorialLaravel Disposable Email

Livewire Email Validation: Block Disposable Emails in Real Time (Livewire 3 and 4)

Livewire email validation that blocks disposable emails in Livewire 3 and 4. Use #[Validate], rules(), real-time checks on blur, Form objects and tests.

· 11 min read
TutorialVue Toastification

Pinia Toast Notifications in Vue 3: Show Toasts From Store Actions

Pinia toast notifications in Vue 3: call useToast() in setup or option store actions, stop duplicate toasts, catch errors with $onAction and test with Vitest.

· 19 min read
Guide

10 Free Packages for Laravel Inertia Apps (Vue and React)

Laravel Inertia packages for Vue and React apps. 10 free, MIT-licensed tools for toasts, translations, forms, PWA, phone input, editors and email checks.

· 9 min read
TutorialLaravel Inertia Forms

Add More Fields Dynamically in Laravel Inertia With a Repeater

Laravel dynamic form fields with an add more button. Build repeatable rows in Inertia, validate nested arrays, and save them to a hasMany relation.

· 11 min read
TutorialText Editor Vue

Build a Laravel Blog With Inertia and a Rich Text Editor

A Laravel blog tutorial with a rich text editor in Inertia and Vue 3, covering posts, a Form Request, image uploads, HTML sanitizing and a public page.

· 12 min read
TutorialLaravel Lang Sync Inertia

How to Add Language Translations to the Laravel React Starter Kit

Add translations to the Laravel React starter kit with Laravel lang files, reactLang() in your components, a language switcher and translated validation errors.

· 12 min read
TutorialLaravel Disposable Email

How to Block Disposable Emails in the Laravel Starter Kit Registration

Block disposable emails in Laravel starter kit registration and profile forms with one rule in the Fortify validation trait, a custom message and a Pest test.

· 8 min read
TutorialVue Toastification

How to Show API Error Messages as Toasts in Vue 3

Vue 3 API error handling in one place. Wrap fetch in a typed helper, map 401, 404, 422 and 500 to friendly messages, and show them as toasts with useToast().

· 13 min read
Best practicesLaravel Disposable Email

How to Stop Spam and Fake Registrations in Laravel

Stop spam registrations in Laravel with five layers that work together. Block disposable emails, rate limit sign-ups, add a honeypot and verify every email.

· 10 min read
TutorialLaravel Inertia Toast

Laravel Inertia CRUD Tutorial: Create, Edit and Delete With Toast Notifications

Build a Laravel Inertia CRUD with Laravel 13, Inertia v3 and Vue 3. Create, edit, delete and paginate posts, with toast messages and a delete confirm.

· 13 min read
TutorialLaravel Inertia Forms

Laravel Inertia Date Picker: Dates, Times and Validation Made Simple

Laravel Inertia date picker guide. Add date, date-time and range pickers with Laravel Inertia Forms, validate with Laravel date rules and store them safely.

· 9 min read
TutorialLaravel Inertia Forms

Laravel Inertia File Upload: Images and Documents With Validation

Laravel Inertia file upload guide for images, multiple files and PDF or DOCX documents, with validation, public disk storage and edit screens.

· 10 min read
TutorialLaravel Inertia Forms

Laravel OTP Verification: Build a One-Time Code Form With Inertia

Laravel OTP verification step by step. Generate a 6-digit code, store only a hash, email it, verify it with attempt limits and build the code input.

· 11 min read
TutorialPhone Number Vue

Laravel Phone Number Validation With Country Codes (Vue and React)

Laravel phone number validation with country codes. Build the input in Vue or React, send one E.164 number, check it with a custom rule, then store it.

· 11 min read
GuideLaravel PWA

Laravel PWA on iPhone: Install on iOS and Work Offline

Laravel PWA on iPhone explained. How iOS users install with Add to Home Screen, what the package adds for Safari, and how the offline page works.

· 10 min read
TutorialText Editor React

React Rich Text Editor With Image Upload and a Laravel Backend

Add React rich text editor image upload with a Laravel backend, covering the upload handler, validation, public disk storage, paste support and deleting images.

· 11 min read
TutorialLaravel Inertia Forms

Searchable Select Dropdown in Laravel Inertia (Vue and React)

Build a Laravel searchable dropdown for Inertia with one PHP field. Static or database options, live search, multiple values, validation and edit mode.

· 12 min read
TutorialLaravel Lang Sync Inertia

How to Add Language Translations to the Laravel Vue Starter Kit

Add language translations to the Laravel Vue starter kit with Laravel lang files, a language switcher, translated validation and a simple Vue __() helper.

· 13 min read
GuideLaravel Disposable Email

Laravel Disposable Email Package: Block 136,000+ Temporary Email Domains in 5 Minutes

Block temporary and fake emails in Laravel 10 to 13 with erag/laravel-disposable-email. 136,000+ domains, daily updates, no API calls and setup in five minutes.

· 9 min read
Guide

Laravel React SaaS Starter Kit: Ship a Multi-Tenant SaaS with React 19

A plain-English look at the SaaS Laravel React starter kit, with React 19, TypeScript, multi-tenancy, login, roles and 17 languages ready on day one, for $30 once.

· 12 min read
Guide

Laravel SaaS Starter Kit: What You Get on Day One with SaaS Laravel

Inside SaaS Laravel, a multi-tenant Laravel SaaS starter kit for Vue, React and Svelte, covering auth, tenants, roles, 17 languages, pricing and who it is for.

· 18 min read
Guide

Laravel Svelte SaaS Starter Kit: Build a Multi-Tenant SaaS with Svelte 5 Runes

A plain-English tour of the SaaS Laravel Svelte starter kit, with Svelte 5 runes, multi-tenancy, login, roles and 17 languages ready on day one, for $33 once.

· 10 min read
Guide

Laravel Vue SaaS Starter Kit: Launch Your Multi-Tenant App in Days, Not Months

A plain-English tour of the SaaS Laravel Vue starter kit, with multi-tenancy, login, roles, 17 languages and Vue 3.5 pages ready on day one, for $29 once.

· 14 min read
GuideLaravel Inertia Forms

Building Reusable Admin CRUD Forms With Laravel Inertia

Build reusable Laravel Inertia admin forms with one PHP form class for fields, defaults, validation, model binding, permissions and create/edit screens.

· 7 min read
Best practicesLaravel Disposable Email

How to Handle Laravel Disposable Email False Positives

Learn how to reduce Laravel disposable email false positives with allowlists, clear recovery flows, targeted policies, tests and safe list updates.

· 7 min read
TutorialLaravel Lang Sync Inertia

How to Keep Laravel Validation Errors in Sync With Inertia

Use Laravel Inertia translation helpers to keep validation errors, form labels, placeholders and plural messages consistent in Vue and React pages.

· 7 min read
Best practicesLaravel Lang Sync Inertia

How to Prevent Translation Drift in Laravel Inertia Apps

A practical Laravel translation sync workflow for Inertia apps, covering source of truth, runtime props, JSON exports, locale switches and missing keys.

· 7 min read
Best practices

Laravel SaaS Onboarding That Gets Users to Their First Win

A practical Laravel SaaS onboarding guide for Inertia apps, covering activation, resumable steps, workspace setup, events and onboarding metrics.

· 7 min read
TutorialLaravel Inertia Forms

Permissions and Conditional Fields in a Laravel Inertia Form Builder

Build secure Laravel Inertia conditional forms with server-side field visibility, authorization, conditional validation and reusable PHP form classes.

· 7 min read
TutorialText Editor React

React Text Editor: Autosave and Draft Recovery

Build a React text editor with rich text autosave, debounced saves, revision checks, recovery prompts and safe server-side HTML handling.

· 8 min read
Best practicesText Editor Vue

Vue Text Editor: How to Design a Toolbar People Can Use

Looking for a Vue text editor? Learn how to choose rich text, WYSIWYG and headless editor features with focused toolbars and responsive UX.

· 8 min read
GuideLaravel Disposable Email

Where Laravel Disposable Email Validation Belongs in Your App

A Laravel disposable email validation policy for signups, team invites, email changes, password resets, contact forms and background imports.

· 7 min read
Best practices

A Better Laravel Signup Form for SaaS Apps (A Practical Checklist)

A practical Laravel signup form checklist for SaaS apps. Block burner emails, collect phone numbers per country, show clear feedback and translate messages.

· 7 min read
TutorialText Editor Vue

A Dependency-Free Rich Text Editor for Vue 3: Setup, Toolbars and v-model

Add a Vue 3 rich text editor with v-model, per-screen toolbars, readonly mode and instance methods, using a component whose only peer dependency is Vue.

· 7 min read
TutorialText Editor React

A Lightweight WYSIWYG Editor for React: Controlled, Uncontrolled and Inertia

Set up a React WYSIWYG editor for React 18 and 19 as a controlled or uncontrolled input, with Next.js, Inertia useForm, autosave and custom toolbars.

· 7 min read
TutorialPhone Number React

A Phone Number Input Hook for React (Country Codes Included)

Build a React phone number input with country selection, calling codes and length validation using the headless usePhoneNumber hook and your own JSX.

· 7 min read
TutorialLaravel PWA

Add an Install App Button to Your Laravel Site

How the PWA install prompt works in Laravel. Use the built-in floating button, restyle it, handle iOS Safari, or build your own Install app button in Vue.

· 6 min read
TutorialPhone Number Vue

Build a Country-Aware Phone Input in Vue 3

Build a Vue phone number input with a country selector, calling code, length checks and a clean v-model, using the headless usePhoneNumber composable.

· 7 min read
GuideLaravel Lang Sync Inertia

Build a Multilingual Laravel Inertia App

Build a multilingual Laravel Inertia app with locale middleware, a language switcher, translated validation errors and lang files that scale with your pages.

· 6 min read
Use caseText Editor React

Build an Email Template Editor in React With Merge Tags and Laravel

Let your team edit transactional emails in a React email template editor with merge tags and starter templates, then resolve and send them safely from Laravel.

· 9 min read
TutorialLaravel Inertia Forms

Build Inertia Forms From a Single PHP Class

Build Laravel Inertia forms from one PHP class with erag/inertia-forms. Fields, layout, rules and permissions live in Laravel, and one component renders them.

· 6 min read
GuidePhone Number React

E.164 Phone Number Format: How to Store and Display Phone Numbers

Learn the E.164 phone number format, how it differs from national display, and how to store and show phone numbers from web forms, with a React example.

· 7 min read
ComparisonPhone Number Vue

Headless Phone Input vs Ready-Made Components

Compare a headless phone input with ready-made phone components on styling, accessibility, bundle size, validation depth and upkeep, and learn when each fits.

· 6 min read
TutorialLaravel Inertia Toast

How to Add a Confirm Dialog Before Deleting in Laravel Inertia (Vue or React)

Build an Inertia confirm dialog for delete buttons in Laravel: await the user's choice in Vue 3 or React, send the request, then flash a toast from the server.

· 7 min read
TutorialLaravel Inertia Toast

How to Add Toast Notifications to a Laravel Inertia App (Vue or React)

Add Inertia toast notifications to Laravel with a toast() helper in your controllers and one plugin for Vue 3 or React. Full setup, options and fixes.

· 7 min read
TutorialVue Toastification

How to Add Toast Notifications to a Vue 3 App Without the Bloat

Add Vue 3 toast notifications with @erag/vue-toastification. Install it, register the plugin, call useToast() and set duration and position per toast.

· 7 min read
TutorialLaravel Disposable Email

How to Block Disposable Emails in Laravel (With a Pest Test)

Block disposable emails in Laravel with one validation rule. Install the package, protect registration, add your own domains and keep the list synced.

· 6 min read
TutorialVue Toastification

How to Build a Vue Confirm Modal You Can Await

Build a Vue confirm modal you can await in Vue 3. Replace v-if state and emit handlers with one async call, plus delete and unsaved-changes examples.

· 7 min read
TutorialLaravel PWA

How to Turn a Laravel App Into a PWA

A step-by-step Laravel PWA setup. Install the package, configure the manifest, add a 512x512 logo, register the service worker and test it over HTTPS.

· 6 min read
GuidePhone Number Vue

How to Validate International Phone Numbers in Vue 3

A practical guide to Vue phone validation for international numbers, covering country length rules, error timing, accessibility and matching checks in Laravel.

· 7 min read
GuideLaravel Disposable Email

Laravel Email Validation: RFC, DNS and MX Explained

Laravel email validation with DNS and RFC modes explained. Learn what rfc, strict, dns and spoof check, when MX lookups help and when they slow you down.

· 6 min read
TutorialText Editor Vue

Mentions and Merge Tags in a Vue Text Editor, With a Laravel Backend

Add @mentions with Laravel user search and double-brace merge tags to a Vue editor, then read mentions from the saved HTML to send notifications.

· 8 min read
TutorialLaravel Inertia Forms

Multi-Step Form Wizards in Laravel Inertia

Build a multi step form in Laravel Inertia with server-checked steps, conditional steps and one final submit, using fieldsets in a single PHP form class.

· 7 min read
GuideLaravel Inertia Forms

One Set of Validation Rules for Laravel and Inertia

Stop duplicating Laravel Inertia validation in PHP and Vue. Generate rules from field definitions, skip hidden fields, and test them with Pest.

· 7 min read
TutorialText Editor Vue

Rich Text Image Uploads With Laravel and Vue: Upload, Paste, Resize and Delete

Wire a Vue editor image upload to Laravel with a form request, public disk storage, progress reporting, CSRF-safe requests and safe server-side deletion.

· 7 min read
GuideLaravel Lang Sync Inertia

Sharing Laravel Lang Files With Your Frontend

Two ways to get Laravel lang files to your frontend, Inertia props or exported JSON, and how to choose, configure and build with each one.

· 6 min read
Use caseLaravel Disposable Email

Stop Free Trial Abuse With Burner Email Checks

Free trial abuse often starts with a burner inbox. Block disposable emails at sign-up, gate trials, log what you catch and grow your own Laravel blocklist.

· 6 min read
Best practicesText Editor React

Store Rich Text Safely: How to Sanitize Rich Text HTML in Laravel

Why the editor's browser sanitizer is not enough, and how to sanitize rich text HTML in Laravel with an allow-list, a form request, Pest tests and a CSP header.

· 8 min read
TutorialPhone Number React

Style a React Phone Input With Tailwind CSS

Style a React phone input with Tailwind CSS as one input group, with focus rings, error and disabled states, dark mode and a calling code prefix.

· 7 min read
Best practicesVue Toastification

Toast Notification UX: When to Use a Toast and When to Skip It

Toast notification UX rules that hold up: which messages belong in a toast, how long to show them, where to place them and how to keep them accessible.

· 7 min read
GuideLaravel Inertia Toast

Turn Laravel Flash Messages Into Inertia Toasts Without Rewriting Controllers

Show Laravel flash messages in Inertia as toasts: why they vanish, which session keys the package reads, one-toast limits, validation errors and Pest tests.

· 7 min read
TutorialLaravel Lang Sync Inertia

Use Laravel Translations in Inertia Vue and React

Use Laravel translations in Inertia Vue and React pages with syncLangFiles(), __() and trans(), including placeholders, plurals and missing keys.

· 6 min read
GuideLaravel PWA

Web App Manifest and Service Worker in Laravel

What the web app manifest and service worker do in a Laravel PWA, how config/pwa.php becomes manifest.json, and how to change the name and icon at runtime.

· 6 min read

Code samples: MIT License © eramitgupta