zarchp / react-starter-kit
An opinionated laravel react starter kit.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 229
Language:TypeScript
Type:project
Requires
- php: ^8.2
- inertiajs/inertia-laravel: ^2.0
- laravel-lang/common: ^6.7
- laravel/framework: ^12.0
- laravel/tinker: ^2.10.1
- laravel/wayfinder: ^0.1.6
- mantraideas/laravel-env-doctor: ^1.0
- nunomaduro/essentials: ^0.1.0
- spatie/laravel-csp: ^3.13
- tightenco/ziggy: ^2.4
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.15
- barryvdh/laravel-ide-helper: ^3.5
- driftingly/rector-laravel: ^2.0
- fakerphp/faker: ^1.23
- jasonmccreary/laravel-test-assertions: ^2.8
- larastan/larastan: ^3.5
- laravel-shift/blueprint: ^2.12
- laravel/pail: ^1.2.2
- laravel/pint: ^1.18
- laravel/sail: ^1.41
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.6
- peckphp/peck: ^0.1.3
- pestphp/pest: ^3.8
- pestphp/pest-plugin-laravel: ^3.2
- pestphp/pest-plugin-type-coverage: ^3.6
- rector/rector: ^2.1
- tightenco/duster: ^3.2
This package is auto-updated.
Last update: 2025-07-17 07:50:54 UTC
README
Introduction
This repository is a custom starter kit for building Laravel and React applications. It includes a set of pre-configured packages and tools to help you get started quickly. Please note that this kit is opinionated, meaning that it reflects the preferences and best practices of the maintainers.
Important
This repository uses PNPM (Performant NPM) instead of NPM. If you don't have PNPM installed, you can install it by running npm install -g pnpm
or by following the installation instructions on the PNPM website.
Installation
To install this repository using the Laravel installer, run the following command:
laravel new --using=zarchp/react-starter-kit myapp
Additional Packages
This repository includes the following additional packages:
Composer
barryvdh/laravel-ide-helper
for generating IDE helper files to improve auto-completion and code navigationbarryvdh/laravel-debugbar
for providing a comprehensive debugging toolbar to aid in development and troubleshootinglaravel-shift/blueprint
for code generation tool for Laravel developersrector/rector
for automatically refactoring PHP code to improve readability, maintainability, and performancepint/pint
for optimizing PHP code styling and formatting to adhere to the PSR-12 standardlarastan/larastan
for performing static analysis and type checking on PHP code to catch errors and improve code qualitylaravel/wayfinder
for generating optimized route definitions and improving application performancelaravel-lang/common
for providing a set of common language translations and localization toolspeckphp/peck
for identify pure wording or spelling (grammar) mistakes in your codebasetightenco/duster
for optimizing PHP code styling and formattingnunomaduro/essentials
for providing a set of essential tools and utilities for Laravel developmentmantraideas/laravel-env-doctor
for analyzing and optimizing environment variables to improve application performance and securityspatie/laravel-csp
for Content Security Policy (CSP)
NPM
@laravel/vite-plugin-wayfinder
for integrating Laravel's Wayfinder package with Vite to enable optimized route definitions
Custom Commands
This repository includes the following custom commands:
Linting
composer lint
to run PHP linterpnpm lint
to run JavaScript linter
Testing
composer test
to run PHP unit testspnpm test
to run JavaScript unit tests
Fixing
composer fix
to fix PHP code style issuespnpm fix
to fix JavaScript code style issues
License
The Laravel + React starter kit is open-sourced software licensed under the MIT license.