Laravel React Boilerplate

A production-ready starter for Laravel 12, Inertia 2, and React 19 with localization, Filament admin, feature flags, full-text search, and real-time support. Use it as a template or clone to build full-stack apps without redoing auth, i18n, theme, or tooling.

Repository: github.com/hojabbr/boilerplate


What’s in this documentation

  • Getting Started — Installation, configuration, and first run (including Sail).
  • Architecture — Backend (Core, Domains) and frontend (features, layouts, UI) structure.
  • Features — Localization, feature flags, search, and the Filament admin panel.
  • Development — How to extend the boilerplate, use scaffolding commands, and run tests.
  • DevOps — CI/CD, code quality (Pint, ESLint, Prettier), and releases.
  • Reference — Paths, config, env vars, and documentation index.

Quick start

  1. Clone the boilerplate: git clone https://github.com/hojabbr/boilerplate.git then run composer install, cp .env.example .env, php artisan key:generate, npm install, npm run build, and php artisan migrate.
  2. Or use Laravel Sail: ./vendor/bin/sail up -d and run the same steps inside the container.
  3. See Installation for detailed steps and Configuration for environment variables.

Documentation map


This site uses Just the Docs, a documentation theme for Jekyll.