PHPackages                             nilanth/laravel-react-boilerplate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. nilanth/laravel-react-boilerplate

ActiveProject[Authentication &amp; Authorization](/categories/authentication)

nilanth/laravel-react-boilerplate
=================================

Laravel React Boilerplate

v1.3(3y ago)7964730[13 PRs](https://github.com/Nilanth/laravel-react-boilerplate/pulls)MITPHPPHP ^7.3|^8.0CI passing

Since Feb 13Pushed 4w ago2 watchersCompare

[ Source](https://github.com/Nilanth/laravel-react-boilerplate)[ Packagist](https://packagist.org/packages/nilanth/laravel-react-boilerplate)[ RSS](/packages/nilanth-laravel-react-boilerplate/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (12)Versions (36)Used By (0)

[![](https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg)](https://laravel.com)

Laravel React Boilerplate
-------------------------

[](#laravel-react-boilerplate)

 [![Total Downloads](https://camo.githubusercontent.com/a72e4bb06b9c0491173cf67d35bbfbc62ee5e12bc9e225843f06302302ffbfcc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e696c616e74682f6c61726176656c2d72656163742d626f696c6572706c617465)](https://packagist.org/packages/nilanth/laravel-react-boilerplate) [![Latest Stable Version](https://camo.githubusercontent.com/b6cc99df2236f304537eff17c29c5cd676793d767bda1c7455813780ea19081a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e696c616e74682f6c61726176656c2d72656163742d626f696c6572706c617465)](https://packagist.org/packages/nilanth/laravel-react-boilerplate) [![License](https://camo.githubusercontent.com/361d2378c441e8b1ad9cee6ce040aa870f8e0daafc7818bef270e0d412471c13/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e696c616e74682f6c61726176656c2d72656163742d626f696c6572706c617465)](https://packagist.org/packages/nilanth/laravel-react-boilerplate)

Laravel React Boilerplate helps to fasten your development, Instead of spending more time on configuring React and SPA Authentication.

### Pre-Configured with

[](#pre-configured-with)

- **Laravel 9**
- Laravel Sanctum for SPA Auth
- **React 18**
- Redux
- React Router
- Route-Level Code-Splitting
- Axios
- [Ant Design](https://github.com/ant-design/ant-design)
- [Redux Saga](https://redux-saga.js.org/)
- [Sass](https://sass-lang.com/)
- [ESLint](https://github.com/eslint/eslint)
- Preconfigured redux store, actions and saga.

### Pre-Configured Modules

[](#pre-configured-modules)

- User Login
- User SignUp
- Auth Routes

Quick Start
-----------

[](#quick-start)

### Laravel Development Environment setup

[](#laravel-development-environment-setup)

You can choose either one for your development

1. [Laravel Homestead](https://laravel.com/docs/8.x/homestead)
2. [Laravel Sail](https://laravel.com/docs/8.x/sail)

### Required setup before clone

[](#required-setup-before-clone)

1. [Composer 2](https://getcomposer.org/download/).
2. [Node](https://nodejs.org/en/) stable version.

Usage
-----

[](#usage)

### Option 1

[](#option-1)

1. Install using composer

```
composer create-project nilanth/laravel-react-boilerplate

```

2. `cd laravel-react-boilerplate`
3. Run `yarn install`
4. Create a Database
5. Update the Database credential to .env file
6. Run `php artisan migrate` -&gt; To create needed tables.
7. Run `php artisan db:seed` -&gt; To seed some fake users.
8. Run `yarn run dev`
9. Update API HOST\_URL in `resources/js/config/constant.js` file

### Option 2

[](#option-2)

1. Clone this Repo
2. `cd laravel-react-boilerplate`
3. Create a .env by copying .env.example and Update the required fields.
4. Run `composer install`
5. Run `php artisan key:gen`
6. Run `yarn install`
7. Create a Database
8. Update the Database credential to .env file
9. Run `php artisan migrate` -&gt; To create needed tables.
10. Run `php artisan db:seed` -&gt; To seed some fake users.
11. Run `yarn run dev`
12. Update API HOST\_URL in `resources/js/config/constant.js` file

### Coming Up

[](#coming-up)

- Tests
- Custom Error response for API request
- Reset Password
- Email Verification

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Nilanth](https://github.com/nilanth)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Support
-------

[](#support)

This project needs a ⭐️ from you. Don't forget to leave a star ⭐️

If you found this boilerplate helpful, consider supporting me with a coffee.

[![Buy Me A Coffee](https://camo.githubusercontent.com/af7c4175cb725540f9b150c8450be14b719748cbe0445c56e51c70bb51fad263/68747470733a2f2f63646e2e6275796d6561636f666665652e636f6d2f627574746f6e732f76322f64656661756c742d7265642e706e67)](https://www.buymeacoffee.com/nilanth)

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance61

Regular maintenance activity

Popularity30

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 73.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~41 days

Recently: every ~72 days

Total

13

Last Release

1413d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/83406a9cf754f08633277c61f4d617652d7a8b899930204e3a6bad8fc6549ea6?d=identicon)[nilanth](/maintainers/nilanth)

---

Top Contributors

[![Nilanth](https://avatars.githubusercontent.com/u/28811774?v=4)](https://github.com/Nilanth "Nilanth (87 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (28 commits)")[![ubpon](https://avatars.githubusercontent.com/u/106419030?v=4)](https://github.com/ubpon "ubpon (4 commits)")

---

Tags

antdantd4axioscode-splittinglaravellaravel-8laravel-mixlaravel-react-boilerplatelaravel-react-reduxlaravel9reactreact-hooksreact-reduxreact-routerreduxredux-sagasanctumscsslaravellaravel 8Authenticationscsssanctumreactaxiosreduxantdreact-reduxreact-routerredux-sagalarave-react-reduxlarave-react-boilerplate

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nilanth-laravel-react-boilerplate/health.svg)

```
[![Health](https://phpackages.com/badges/nilanth-laravel-react-boilerplate/health.svg)](https://phpackages.com/packages/nilanth-laravel-react-boilerplate)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[krayin/laravel-crm

Krayin CRM

22.0k32.8k1](/packages/krayin-laravel-crm)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[tuandm/laravue

A beautiful dashboard for Laravel built by VueJS

2.2k16.6k](/packages/tuandm-laravue)[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6712.1k2](/packages/hasinhayder-tyro)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
