PHPackages                             nadaft/laraspa - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. nadaft/laraspa

ActiveLibrary[HTTP &amp; Networking](/categories/http)

nadaft/laraspa
==============

Laravel REST API React Scaffolding with Authentication.

v1.1(3y ago)214MITJavaScriptPHP ^8.0.2

Since Feb 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/nadaft/laraspa)[ Packagist](https://packagist.org/packages/nadaft/laraspa)[ RSS](/packages/nadaft-laraspa/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

[![Login Page](/assets/login.png)](/assets/login.png)

 [ ![Total Downloads](https://camo.githubusercontent.com/9e4108b74b2ed6409fb6439c41b2b75066371a2fa818e1174252314f75aaa1b5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e61646166742f6c617261737061) ](https://packagist.org/packages/nadaft/laraspa) [ ![Latest Stable Version](https://camo.githubusercontent.com/bc424a81a5c4653dea72f1c5e4fa8cc395af0fe824159fea6161c7d5223391f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e61646166742f6c617261737061) ](https://packagist.org/packages/nadaft/laraspa) [ ![License](https://camo.githubusercontent.com/44648d97370c7586be21a181f25040a9c414efd549a5fb8f042c73de307998d9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e61646166742f6c617261737061) ](https://packagist.org/packages/nadaft/laraspa)

LaraSPA
=======

[](#laraspa)

A Laravel package that scaffolds a Laravel REST API and React application. The package implements a REST API for the backend and React for the frontend.

Features
--------

[](#features)

- React
- React Router
- React Redux Toolkit
- React Helmet
- React Toastify
- TailwindCSS, Tailwind Merge and Automatic Class Sorting with Prettier
- Includes Laravel Debugbar and Ide Helper
- Implemented backend API testing
- Includes Login, Register, Reset Password, Resend Email Verification, and Dashboard Pages
- Includes protected routes for authentication
- Optionally you can use ESLint, Prettier and Airbnb Standard. You can choose to use it or not during the installation.

How to install
--------------

[](#how-to-install)

### 1. First you need a fresh Laravel installation

[](#1-first-you-need-a-fresh-laravel-installation)

If you don't already have one, start by creating a fresh Laravel installation. We recommend starting with a fresh installation because the package will replace your current Laravel application files.

To create a fresh installation, run the following command:

```
laravel new your-app-name
```

Once the installation is complete, run the following command:

```
php artisan migrate
```

Next, install the necessary node modules using your preferred package manager (npm, yarn, or pnpm):

```
npm install
```

or

```
yarn install
```

or

```
pnpm install
```

### 2. Install the Package

[](#2-install-the-package)

Run the following command:

```
composer require nadaft/laraspa --dev
```

(Optional) If the package isn't discovered automatically, add the service provider to your config/app.php providers array:

```
Nadaft\Laraspa\LaraspaServiceProvider::class,
```

### 3. Install Laraspa

[](#3-install-laraspa)

Run the following command:

```
php artisan laraspa:install
```

During the installation process, you will be prompted to choose whether or not to use ESLint for your Laravel application. If you choose to use it, the necessary dependencies and configuration files will be installed. If you choose not to use it, the installation will proceed without installing ESLint.

Wait for the installation process to complete. Then, run the following command:

```
php artisan serve
```

Your Laravel App is now ready to use.

Screenshots
-----------

[](#screenshots)

[![Login Page](https://raw.githubusercontent.com/nadaft/laraspa/master/assets/login.png)](https://raw.githubusercontent.com/nadaft/laraspa/master/assets/login.png)

[![Register Page](https://raw.githubusercontent.com/nadaft/laraspa/master/assets/register.png)](https://raw.githubusercontent.com/nadaft/laraspa/master/assets/register.png)

[![Dashboard Page](https://raw.githubusercontent.com/nadaft/laraspa/master/assets/dashboard.png)](https://raw.githubusercontent.com/nadaft/laraspa/master/assets/dashboard.png)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~7 days

Total

2

Last Release

1185d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2a22ade0d647c5e63b29a5466f25fd095471fd35a8fc327ca8e4fdfe0d01eb7b?d=identicon)[NHNajibullah](/maintainers/NHNajibullah)

---

Top Contributors

[![nhnajibullah](https://avatars.githubusercontent.com/u/10539842?v=4)](https://github.com/nhnajibullah "nhnajibullah (9 commits)")

---

Tags

apilaravelrestauthreact

### Embed Badge

![Health badge](/badges/nadaft-laraspa/health.svg)

```
[![Health](https://phpackages.com/badges/nadaft-laraspa/health.svg)](https://phpackages.com/packages/nadaft-laraspa)
```

###  Alternatives

[francescomalatesta/laravel-api-boilerplate-jwt

An API Boilerplate to create a ready-to-use REST API in seconds.

1.2k7.5k](/packages/francescomalatesta-laravel-api-boilerplate-jwt)[lomkit/laravel-rest-api

A package to build quick and robust rest api for the Laravel framework.

59152.2k](/packages/lomkit-laravel-rest-api)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[laragear/api-manager

Manage multiple REST servers to make requests in few lines and fluently.

161.8k](/packages/laragear-api-manager)

PHPackages © 2026

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