PHPackages                             cvtmal/laravel-react-starter - 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. cvtmal/laravel-react-starter

ActiveProject[Framework](/categories/framework)

cvtmal/laravel-react-starter
============================

React Laravel starter kit with PHPStan/Larastan, Pint, Pest, and Rector based on the latest Laravel 12 React Starter Kit.

43991[1 PRs](https://github.com/cvtmal/laravel-react-starter/pulls)TypeScriptCI failing

Since Jul 11Pushed 10mo ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

[![](https://camo.githubusercontent.com/07200318d29650cd4b96db4e0ef77ec31caac2c2a9f6e45ec400bf92a9d70d34/68747470733a2f2f666f786261752e63682f6c61726176656c2d72656163742d737461727465722e706e67)](https://camo.githubusercontent.com/07200318d29650cd4b96db4e0ef77ec31caac2c2a9f6e45ec400bf92a9d70d34/68747470733a2f2f666f786261752e63682f6c61726176656c2d72656163742d737461727465722e706e67)

[![Build Status](https://github.com/cvtmal/laravel-react-starter/actions/workflows/tests.yml/badge.svg)](https://github.com/cvtmal/laravel-react-starter/actions)[![License](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)](https://github.com/cvtmal/laravel-react-starter)[![](https://camo.githubusercontent.com/618c9e51e15e56c97355155237c39fbf4177cc83ad93b5d65cf4a2bbea9d82a0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f496e7374616c6c25323077697468253230486572642d6635353234373f6c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465)](https://herd.laravel.com/new?starter-kit=cvtmal/laravel-react-starter)

cvtmal/laravel-react-starter
============================

[](#cvtmallaravel-react-starter)

A Laravel starter kit that comes preconfigured with modern PHP tools, coding standards, and an opinionated project structure. This starter kit is designed to help you jumpstart your Laravel projects with robust quality checks, static analysis, and architectural guidelines.

Requirements
------------

[](#requirements)

- **PHP Version:** 8.2
- **Laravel Version:** 12.x

Features
--------

[](#features)

### Static Analysis &amp; QA

[](#static-analysis--qa)

- **Larastan/PHPStan:** Configured with `phpstan.neon` set to maximum level (10). Note that framework-specific react starter kit code is annotated with `// @phpstan-ignore-line` to bypass false positives.
- **Rector PHP:** Automated refactoring and code modernization.
- **Laravel Pint:** Strict rules defined in `pint.json` for consistent code style.

### Project Structure

[](#project-structure)

- **Actions:** Single-purpose business logic classes independent of HTTP concerns in `app/Actions`.
- **Enums:** Place your enumerations in `app/Enums`.
- **Services:** Service classes get located in `app/Services`.

### Testing

[](#testing)

#### Unit Tests:

[](#unit-tests)

- Actions tests are in `tests/Unit/Actions`.
- Enums tests are in `tests/Unit/Enums`.
- Models tests are in `tests/Unit/Models`.

#### Architecture Tests:

[](#architecture-tests)

- Adding `tests/Unit/ArchTest.php`
- Included to ensure the project adheres to established architectural guidelines.

### Custom Configurations

[](#custom-configurations)

- **AppServiceProvider:** Configured with custom rules to further align with your project requirements.
- **PHPStan:** Custom settings in `phpstan.neon` to suit your project's needs.
- **Rector PHP:** Configured in `rector.php` for automated refactoring.
- **Laravel Pint:** Configured in `pint.json` for code style enforcement.
- **Environment File:** Example environment file provided as `.env.example`.
- **GitHub Actions:** CI/CD pipeline configured in `.github/workflows/tests.yml` for automated testing and quality checks.

Project Structure
-----------------

[](#project-structure-1)

```
├── app
│   ├── Actions/                         # Actions Pattern
│   ├── Enums/                           # Enums
│   ├── Providers
│       └── AppServiceProvider.php       # Customized App Service Provider
│   └── Services/                        # Service classes
├── tests
│   └── Unit
│       ├── Actions/                     # Unit tests for actions
│       ├── Enums/                       # Unit tests for enums
│       ├── Models/                      # Unit tests for models
│       └── ArchTest.php                 # Architecture tests
├── .env.example                         # Example environment file
├── phpstan.neon                         # PHPStan configuration
├── pint.json                            # Laravel Pint configuration
└── rector.php                           # Rector PHP configuration

```

Customization
-------------

[](#customization)

- **PHPStan &amp; Larastan:**Refer to phpstan.neon for custom settings and the use of // @phpstan-ignore-line in framework-specific code.
- **Rector PHP:**Adjust the configuration as needed to tailor refactoring rules.
- **Laravel Pint:**Modify pint.json to enforce or relax specific style guidelines.
- **AppServiceProvider:**Check the custom rules applied within the App\\Providers\\AppServiceProvider for application-wide configurations.

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

[](#contributing)

Contributions are welcome! Feel free to fork this repository, make improvements, and submit pull requests. Please ensure that your changes adhere to the project's coding standards and pass all tests.

License
-------

[](#license)

This project is open-source and available under the [MIT License](LICENSE).

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1cb85498ac2869a48aeccad293369a5f96503fae2dbc1962d57926e326e032c?d=identicon)[cvtmal](/maintainers/cvtmal)

---

Top Contributors

[![cvtmal](https://avatars.githubusercontent.com/u/53231361?v=4)](https://github.com/cvtmal "cvtmal (1 commits)")[![Diddyy](https://avatars.githubusercontent.com/u/12849249?v=4)](https://github.com/Diddyy "Diddyy (1 commits)")

### Embed Badge

![Health badge](/badges/cvtmal-laravel-react-starter/health.svg)

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

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)

PHPackages © 2026

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