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
- Clone the boilerplate:
git clone https://github.com/hojabbr/boilerplate.gitthen runcomposer install,cp .env.example .env,php artisan key:generate,npm install,npm run build, andphp artisan migrate. - Or use Laravel Sail:
./vendor/bin/sail up -dand run the same steps inside the container. - See Installation for detailed steps and Configuration for environment variables.
Documentation map
| Section | Pages |
|---|---|
| Getting Started | Installation, Configuration, Directory structure |
| Architecture | Overview, Backend, Frontend |
| Features | Localization, Feature flags, Search, Admin |
| Development | Extending, Scaffolding, Testing |
| DevOps | CI/CD, Code quality |
| Reference | Paths, config & env, Documentation index |