PHPackages                             martyrer/laravel-starter-kit - 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. [Framework](/categories/framework)
4. /
5. martyrer/laravel-starter-kit

ActiveProject[Framework](/categories/framework)

martyrer/laravel-starter-kit
============================

The skeleton application for the Laravel framework.

v1.0(9mo ago)02MITTypeScriptPHP ^8.4.0CI failing

Since Sep 22Pushed 9mo agoCompare

[ Source](https://github.com/Martyrer/laravel-starter-kit)[ Packagist](https://packagist.org/packages/martyrer/laravel-starter-kit)[ RSS](/packages/martyrer-laravel-starter-kit/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (18)Versions (2)Used By (0)

Nuno Maduro Laravel Starter Kit + Laravel Inertia React Starter Kit
===================================================================

[](#nuno-maduro-laravel-starter-kit--laravel-inertia-react-starter-kit)

 [![CI](https://camo.githubusercontent.com/2f1a7aa516fb430bb0c52f38be0539f92c6bc1cd634cccc294370e90ad250d39/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d617274797265722f6c61726176656c2d737461727465722d6b69742f74657374732e796d6c3f6272616e63683d6d61696e)](https://github.com/martyrer/laravel-starter-kit/actions) [![Laravel](https://camo.githubusercontent.com/096d33b304098579b8c6d63827fe33101879c0538513b2b279c1b2628d2f2f5e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31322e782d464632443230)](https://camo.githubusercontent.com/096d33b304098579b8c6d63827fe33101879c0538513b2b279c1b2628d2f2f5e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31322e782d464632443230) [![PHP](https://camo.githubusercontent.com/f630c6cb257f85948ea633f68d49413f69d4cc7463c710d4476c29c5e291dece/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e342d373737424234)](https://camo.githubusercontent.com/f630c6cb257f85948ea633f68d49413f69d4cc7463c710d4476c29c5e291dece/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e342d373737424234) [![React](https://camo.githubusercontent.com/20f5e73ffc3bdd60ae1cc4d6dedb75d984c5e596be7df0326c89a0049789aa50/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f52656163742d31392d363144414642)](https://camo.githubusercontent.com/20f5e73ffc3bdd60ae1cc4d6dedb75d984c5e596be7df0326c89a0049789aa50/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f52656163742d31392d363144414642) [![Tailwind](https://camo.githubusercontent.com/f2cfc41a8dc1c503a48352ebe5c4e16e2e53662812ee57ec0a01c79d4698173d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5461696c77696e642d342d333842444638)](https://camo.githubusercontent.com/f2cfc41a8dc1c503a48352ebe5c4e16e2e53662812ee57ec0a01c79d4698173d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5461696c77696e642d342d333842444638)

A strict, modern Laravel 12 starter that pairs Inertia + React 19 and Tailwind CSS 4, with opinionated DX and guardrails: 100% test and type coverage targets, high level static analysis, automated refactoring, and first‑class formatting.

This is a mix of the official [Laravel React Starter Kit](https://github.com/laravel/react-starter-kit) and the [Nuno Maduro Starter Kit](https://github.com/nunomaduro/laravel-starter-kit) starter kits

Built for rapid app scaffolding while enforcing high code quality.

---

Features
--------

[](#features)

- **Laravel 12** with streamlined bootstrap structure and SQLite default
- **Authentication** via `laravel/fortify`
- **Inertia.js** (server: `inertiajs/inertia-laravel`, client: `@inertiajs/react`)
- **React 19 + TypeScript** with Vite 7 and Wayfinder routing helpers
- **Tailwind CSS v4** with modern utilities and `@tailwindcss/vite`
- **Strict Tooling** pre-configured:
    - Tests: Pest v4, PHPUnit 12 (100% coverage targets)
    - Static analysis: Larastan (PHPStan max)
    - Refactoring: Rector
    - Code style: Laravel Pint + Prettier (TS/TSX)
    - Browser testing ready via Pest Browser
- **Essentials** defaults (immutable dates, safe console, eager loading) via `nunomaduro/essentials`
- **DX scripts** for linting, type checks, and parallel dev processes

---

Tech Stack
----------

[](#tech-stack)

- **Backend**: PHP 8.4, Laravel 12.30.x, Fortify, Wayfinder
- **Frontend**: React 19, TypeScript 5, Inertia React 2, Tailwind 4, Vite 7
- **Tooling**: Pest 4, PHPUnit 12, Larastan 3, Rector 2, Pint 1, Prettier 3, ESLint 9
- **Runtime**: SQLite (default), Queue worker, Laravel Pail for logs

---

Getting Started
---------------

[](#getting-started)

### Prerequisites

[](#prerequisites)

- PHP 8.4+
- Composer
- Node.js 22+ (Vite 7)
- Bun or npm (repository scripts use bun for dev, Prettier for formatting)

### Installation

[](#installation)

```
# 1) Install PHP dependencies
composer install

# 2) Install JS dependencies
npm install

# 3) Environment + App key
cp .env.example .env
php artisan key:generate

# 4) Database (SQLite default)
mkdir -p database && touch database/database.sqlite
php artisan migrate

# 5) Run dev servers (app, queue, logs, Vite)
composer dev
```

Visit the app at .

---

Frontend
--------

[](#frontend)

- Entry points live under `resources/` (TS/TSX)
- Vite-based dev/build with React plugin and Wayfinder

Common commands:

```
# Start Vite dev server
npm run dev

# Production build (client + SSR)
npm run build
npm run build:ssr

# Prettier format and check
npm run format
npm run format:check

# Type-check only
npm run types
```

---

Backend
-------

[](#backend)

Key composer scripts:

```
# All-in dev orchestration
composer dev

# Lint/fix PHP (Pint), refactor (Rector), then run JS lint
composer lint

# Full test suite with strict gates
composer test

# Individual suites
composer test:unit
composer test:type-coverage
composer test:lint
composer test:types
```

Fortify provides authentication scaffolding; check `routes/` and `app/` for actions, requests, and middleware registration via `bootstrap/app.php` per Laravel 12 conventions.

---

Testing
-------

[](#testing)

Pest v4 is configured for fast unit and browser tests:

```
# Run full suite (coverage + lint + types)
composer test

# Unit tests with 100% coverage target
a: composer test:unit

# Type coverage (100%)
composer test:type-coverage

# Static analysis and lint gates
composer test:types
composer test:lint
```

Use datasets and factories for expressive tests. Browser tests live in `tests/Browser/`.

---

Code Quality
------------

[](#code-quality)

- **Pint**: opinionated PHP formatting
- **Rector**: safe automated refactoring
- **Larastan (PHPStan)**: level max static analysis
- **Prettier**: TS/TSX formatting with Tailwind and organize‑imports plugins
- **ESLint**: modern React, hooks, and TS rules

Run all in one:

```
composer lint
```

---

Project Scripts (Selected)
--------------------------

[](#project-scripts-selected)

Composer (`composer.json`):

- `dev`: parallel app server, queue listener, logs (Pail), and Vite
- `test:*`: coverage, unit, lint, types—with strict thresholds

NPM (`package.json`):

- `dev`, `build`, `build:ssr`
- `format`, `format:check`, `lint`
- `types`

---

Directory Structure (Highlights)
--------------------------------

[](#directory-structure-highlights)

- `app/` – Laravel application code (actions, controllers, policies, etc.)
- `bootstrap/` – Application bootstrap (middleware, exceptions, routing)
- `resources/` – React + Inertia frontend (TS/TSX, styles)
- `routes/` – Route files (web, console, etc.)
- `database/` – Migrations, factories, seeders
- `tests/` – Pest tests (Feature, Unit, Browser)

---

Configuration Notes
-------------------

[](#configuration-notes)

- Tailwind v4 uses CSS `@import "tailwindcss"` (no `@tailwind` directives)
- Wayfinder assists with route discovery while using Vite
- Essentials enforces strict runtime defaults (immutable dates, eager loading, etc.)
- Default DB is SQLite; swap via `.env` without code changes

---

Deployment
----------

[](#deployment)

- Build frontend: `npm run build`
- Run migrations: `php artisan migrate --force`
- Cache config/routes/views as desired: `php artisan optimize`
- Ensure queue workers and logs (Pail) are supervised in production

---

FAQ
---

[](#faq)

- "I don’t see UI changes": ensure the Vite dev server is running (`npm run dev`) or build assets (`npm run build`).
- "Vite manifest error": run a fresh build. If still failing, clear caches: `php artisan optimize:clear`.
- "Type errors or style diffs": run `composer lint` and `npm run types`.

---

License
-------

[](#license)

This starter is distributed under the **[MIT license](https://opensource.org/licenses/MIT)**. Components and tools retain their respective licenses (Laravel, Pest, Rector, Pint, Prettier, Tailwind, Inertia, etc.).

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance57

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

284d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3949635?v=4)[Dmitry Shumilin](/maintainers/Martyrer)[@Martyrer](https://github.com/Martyrer)

---

Top Contributors

[![Martyrer](https://avatars.githubusercontent.com/u/3949635?v=4)](https://github.com/Martyrer "Martyrer (3 commits)")

---

Tags

frameworklaravelinertiareact

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/martyrer-laravel-starter-kit/health.svg)

```
[![Health](https://phpackages.com/badges/martyrer-laravel-starter-kit/health.svg)](https://phpackages.com/packages/martyrer-laravel-starter-kit)
```

###  Alternatives

[nunomaduro/laravel-starter-kit-inertia-react

The skeleton application for the Laravel framework.

2071.1k](/packages/nunomaduro-laravel-starter-kit-inertia-react)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3891.8k](/packages/codewithdennis-larament)

PHPackages © 2026

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