PHPackages                             devforce141/code-quality-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. [Testing &amp; Quality](/categories/testing)
4. /
5. devforce141/code-quality-starter-kit

ActiveProject[Testing &amp; Quality](/categories/testing)

devforce141/code-quality-starter-kit
====================================

DevForce 141 — Laravel starter kit with Pint, Larastan, Pest, and Rector pre-configured.

v1.1.1(3mo ago)04MITBladePHP ^8.2CI failing

Since Mar 5Pushed 3mo agoCompare

[ Source](https://github.com/DevForce-141/Code-Quality-Starter-Kit)[ Packagist](https://packagist.org/packages/devforce141/code-quality-starter-kit)[ RSS](/packages/devforce141-code-quality-starter-kit/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (4)Dependencies (13)Versions (5)Used By (0)

DevForce 141 — Laravel Starter Kit
==================================

[](#devforce-141--laravel-starter-kit)

A Laravel 12 starter kit with a full code quality pipeline pre-configured and ready to go from day one.

What's included
---------------

[](#whats-included)

ToolPurpose**Laravel Pint**PHP code style fixer (Laravel preset)**Larastan / PHPStan**Static analysis at level 6**Pest PHP**Modern test runner with architecture tests**Rector**Automated refactoring up to PHP 8.2**Prettier**Blade, JS, and HTML formatting**ESLint**JavaScript linting**GitHub Actions**CI workflow running the full quality pipelineAll config files (`pint.json`, `phpstan.neon`, `rector.php`, `prettier.config.js`, `eslint.config.js`) are pre-written and ready to use or customise.

Architecture tests live in `tests/Architecture/ConventionsTest.php` — edit them to match your project's conventions.

### For Existing Projects

[](#for-existing-projects)

Installing and setting up each tool manually is annoying, especially if the same process needs to be repeated across many projects, hence `code-quality-setup-for-existing-project.sh` is provided which installs all the quality tools and generates their baseline config same as this repo. The bash script is added here to keep both the starter kit and the bash script in view, and hopefully keep both of them in sync.

---

Installation
------------

[](#installation)

### New project (recommended)

[](#new-project-recommended)

```
laravel new my-app --using=your-vendor/devforce-kit
```

### Clone directly

[](#clone-directly)

```
git clone https://github.com/your-vendor/devforce-kit my-app
cd my-app
composer install
npm install
cp .env.example .env
php artisan key:generate
php artisan migrate
```

---

Available commands
------------------

[](#available-commands)

### PHP (via Composer)

[](#php-via-composer)

```
composer lint              # Fix PHP code style with Pint
composer lint:check        # Check only — no changes made
composer analyse           # Run PHPStan static analysis
composer test              # Run all Pest tests
composer test:arch         # Run architecture tests only
composer refactor          # Dry-run Rector
composer refactor:apply    # Apply Rector changes
composer quality           # lint + analyse + test in one shot
```

### JS / Frontend (via npm)

[](#js--frontend-via-npm)

```
npm run lint:js            # ESLint check
npm run lint:js:fix        # ESLint auto-fix
npm run format             # Prettier format all Blade/JS/HTML
npm run format:check       # Prettier check only
npm run quality            # lint:js + format
```

---

Architecture tests
------------------

[](#architecture-tests)

`tests/Architecture/ConventionsTest.php` ships with sensible defaults:

- Actions must be invokable
- Models must not contain business logic
- Controllers must not query the DB directly
- Enums must live in `App\Enums`
- No debug functions (`dd`, `dump`, `ray`, etc.) in `App`
- Form requests must extend `Illuminate\Foundation\Http\FormRequest`

Adjust or remove any rule that doesn't fit your project.

---

Customising the kit
-------------------

[](#customising-the-kit)

Since this is a starter kit, **you own all the code**. There's nothing to update or publish — just edit the files directly.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance79

Regular maintenance activity

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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 ~0 days

Total

4

Last Release

110d ago

### Community

Maintainers

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

---

Top Contributors

[![MacTavish-69](https://avatars.githubusercontent.com/u/49161243?v=4)](https://github.com/MacTavish-69 "MacTavish-69 (6 commits)")

---

Tags

pestlaravellarastanstarter-kitrectorPint

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/devforce141-code-quality-starter-kit/health.svg)

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

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.3k2.2k](/packages/unopim-unopim)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[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.

3861.7k](/packages/codewithdennis-larament)

PHPackages © 2026

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