PHPackages                             peterfox/laravel-static-analysis-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. peterfox/laravel-static-analysis-starter-kit

ActiveProject[Framework](/categories/framework)

peterfox/laravel-static-analysis-starter-kit
============================================

The skeleton application for the Laravel framework.

013Blade

Since Mar 14Pushed 1y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

[![Packagist Downloads](https://camo.githubusercontent.com/8558226ab46eedf0f2d70bff8220afc7a3162a8b1c556f89178c3b63ca99dbbb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7065746572666f782f6c61726176656c2d7374617469632d616e616c797369732d737461727465722d6b6974)](https://camo.githubusercontent.com/8558226ab46eedf0f2d70bff8220afc7a3162a8b1c556f89178c3b63ca99dbbb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7065746572666f782f6c61726176656c2d7374617469632d616e616c797369732d737461727465722d6b6974)

The Laravel Static Analysis Starter Kit
=======================================

[](#the-laravel-static-analysis-starter-kit)

This starter template is less for making projects and more for educational purposes. When creating a project with this starter kit you can quickly play around with static analysis tools with Laravel.

How to use it
-------------

[](#how-to-use-it)

Have the Laravel installer installed

```
laravel new --using peterfox/laravel-static-analysis-starter-kit
```

What's installed?
-----------------

[](#whats-installed)

This starter kit is to demo the use of:

- [PHPStan](https://phpstan.org/)
- [Rector](https://getrector.com/)
- [Easy Coding Standards](https://github.com/easy-coding-standard/easy-coding-standard) (replaces Laravel Pint)

How to run
----------

[](#how-to-run)

You can action all of these in one go using:

```
composer ci
```

This will run tests as well between linting and phpstan.

What's configured?
------------------

[](#whats-configured)

### PHPStan

[](#phpstan)

The project includes the following PHPStan extensions:

- [Larastan](https://github.com/larastan/larastan) - Helps analyse for Laravel related issues.
- [PHPStan deprecated warnings](https://github.com/phpstan/phpstan-deprecation-rules) - Finds use of deprecated code.
- [PHPStan webmozart/assert](https://github.com/phpstan/phpstan-webmozart-assert) - Allow extra detections via [webmozart/assert](https://github.com/webmozart/assert).
- [PHPStan PHPUnit](https://github.com/phpstan/phpstan-phpunit) - Highlights issues with PHPUnit tests.
- [Simplify PHPStan Rule](https://github.com/symplify/phpstan-rules) - Additional Rules around clean architecture.

At current the [`phpstan.neon.dist`](phpstan.neon.dist) config sets level 6 and covers the app and tests folders.

### EasyCoding Standards

[](#easycoding-standards)

EasyCoding Standards is a wrapper around PHP CS Fixer in the same way Laravel Pint is but it makes the config easier to write. Instead of JSON, it's a PHP file that IDEs will be able to auto-complete with.

The config for EasyCoding Standards lives in [`ecs.php`](ecs.php).

### Rector

[](#rector)

Rector is for automatically fixing, upgrading and improving code. This will act in the same way PHP CS Fixer does but goes even further but performing a type hint analysis before applying rules.

The config for rector lives in [`rector.php`](rector.php).

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/15fcbffff7260a7e75c3f8600eb112b9447aaa5926965ba5376881ef50b9ab8b?d=identicon)[peterfox](/maintainers/peterfox)

---

Top Contributors

[![peterfox](https://avatars.githubusercontent.com/u/1716506?v=4)](https://github.com/peterfox "peterfox (13 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[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.

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

A simple API extension for DateTime.

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

PHPackages © 2026

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