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

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 navigation
  • barryvdh/laravel-debugbar for providing a comprehensive debugging toolbar to aid in development and troubleshooting
  • laravel-shift/blueprint for code generation tool for Laravel developers
  • rector/rector for automatically refactoring PHP code to improve readability, maintainability, and performance
  • pint/pint for optimizing PHP code styling and formatting to adhere to the PSR-12 standard
  • larastan/larastan for performing static analysis and type checking on PHP code to catch errors and improve code quality
  • laravel/wayfinder for generating optimized route definitions and improving application performance
  • laravel-lang/common for providing a set of common language translations and localization tools
  • peckphp/peck for identify pure wording or spelling (grammar) mistakes in your codebase
  • tightenco/duster for optimizing PHP code styling and formatting
  • nunomaduro/essentials for providing a set of essential tools and utilities for Laravel development
  • mantraideas/laravel-env-doctor for analyzing and optimizing environment variables to improve application performance and security
  • spatie/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 linter
  • pnpm lint to run JavaScript linter

Testing

  • composer test to run PHP unit tests
  • pnpm test to run JavaScript unit tests

Fixing

  • composer fix to fix PHP code style issues
  • pnpm fix to fix JavaScript code style issues

License

The Laravel + React starter kit is open-sourced software licensed under the MIT license.