PHPackages                             limenet/laravel-baseline - 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. limenet/laravel-baseline

ActiveLibrary

limenet/laravel-baseline
========================

A highly opinionated Laravel baseline.

1.2.22(1mo ago)0742↓37.5%MITPHPPHP ^8.3CI passing

Since Aug 22Pushed 2mo agoCompare

[ Source](https://github.com/limenet/laravel-baseline)[ Packagist](https://packagist.org/packages/limenet/laravel-baseline)[ Docs](https://github.com/limenet/laravel-baseline)[ GitHub Sponsors]()[ RSS](/packages/limenet-laravel-baseline/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (43)Versions (71)Used By (0)

Laravel Baseline
================

[](#laravel-baseline)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f7ff00484e6926c20d4a2251146be424d0b3d071152e80b476033acb5e440253/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c696d656e65742f6c61726176656c2d626173656c696e652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/limenet/laravel-baseline)[![run-tests](https://github.com/limenet/laravel-baseline/actions/workflows/run-tests.yml/badge.svg)](https://github.com/limenet/laravel-baseline/actions/workflows/run-tests.yml)[![Fix PHP code style issues](https://github.com/limenet/laravel-baseline/actions/workflows/fix-php-code-style-issues.yml/badge.svg)](https://github.com/limenet/laravel-baseline/actions/workflows/fix-php-code-style-issues.yml)[![codecov](https://camo.githubusercontent.com/168604e5d8e539fe3fa352e91bf5175bb73852e6b1623f4bb7d4eb94a30a36a1/68747470733a2f2f636f6465636f762e696f2f67682f6c696d656e65742f6c61726176656c2d626173656c696e652f67726170682f62616467652e7376673f746f6b656e3d5135374647314c323841)](https://codecov.io/gh/limenet/laravel-baseline)[![Total Downloads](https://camo.githubusercontent.com/c0bc0ff288ff93eb5db03c0d160267011c735dd9a2bbcc72ecf85f9a5408f95f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c696d656e65742f6c61726176656c2d626173656c696e652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/limenet/laravel-baseline)

Checks your Laravel installation against a highly opinionated baseline.

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

[](#installation)

You can install the package via composer:

```
composer require limenet/laravel-baseline
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-baseline-config"
```

Usage
-----

[](#usage)

```
"post-update-cmd": [
    "@php artisan limenet:laravel-baseline"
],
```

Checks
------

[](#checks)

This package validates your Laravel installation against the following checks:

### Testing &amp; Quality Tools

[](#testing--quality-tools)

- **`usesPest()`** - Validates Pest testing framework is configured (not PHPUnit directly)
- **`usesRector()`** - Validates Rector automated code modernization is installed
- **`usesLarastan()`** - Validates Larastan static analysis tool is configured
- **`usesPhpstanExtensions()`** - Validates PHPStan extensions are installed
- **`phpstanLevelAtLeastEight()`** - Validates PHPStan is configured to at least level 8
- **`usesPhpInsights()`** - Validates PHP Insights code quality analysis is configured
- **`checkPhpunit()`** - Validates PHPUnit configuration with coverage reports
- **`hasCompleteRectorConfiguration()`** - Validates comprehensive Rector configuration

### IDE &amp; Developer Tools

[](#ide--developer-tools)

- **`hasClaudeSettingsWithLaravelSimplifier()`** - Validates Claude Code settings include Laravel Simplifier plugin
- **`usesIdeHelpers()`** - Validates Laravel IDE Helper is configured
- **`usesLaravelBoost()`** - Validates Laravel Boost AI development tool
- **`usesLimenetPintConfig()`** - Validates custom Laravel Pint formatting standards

### Laravel Features &amp; Monitoring

[](#laravel-features--monitoring)

- **`usesLaravelHorizon()`** - Validates Laravel Horizon Redis queue manager
- **`usesLaravelPennant()`** - Warns if Laravel Pennant feature flags are missing (optional)
- **`usesLaravelPulse()`** - Validates Laravel Pulse application monitoring
- **`usesLaravelTelescope()`** - Validates Laravel Telescope request debugging
- **`usesSpatieHealth()`** - Validates Spatie Health check monitoring
- **`usesSpatieBackup()`** - Validates Spatie Backup database backups with comprehensive config validation

### Infrastructure &amp; Dependencies

[](#infrastructure--dependencies)

- **`usesPredis()`** - Validates Predis Redis client is installed
- **`isLaravelVersionMaintained()`** - Validates Laravel 11+ is used
- **`doesNotUseSail()`** - Validates Sail is NOT used
- **`doesNotUseHorizonWatcher()`** - Validates Spatie Horizon Watcher is NOT installed
- **`doesNotUseGreaterThanOrEqualConstraints()`** - Validates no `>=` version constraints in composer.json (use `^` or `~` instead)

### CI/CD &amp; Deployment

[](#cicd--deployment)

- **`hasCiJobs()`** - Validates GitLab CI pipeline jobs are properly configured
- **`callsSentryHook()`** - Warns if Sentry error tracking is missing (optional)
- **`phpVersionMatchesCi()`** - Validates PHP version consistency with CI configuration
- **`isCiLintComplete()`** - Validates complete linting pipeline
- **`doesNotUseIgnition()`** - Validates Ignition debugger is NOT installed

### Local Development

[](#local-development)

- **`phpVersionMatchesDdev()`** - Validates PHP version consistency with DDEV
- **`ddevHasPcovPackage()`** - Validates DDEV coverage configuration
- **`ddevMutagenIgnoresNodeModules()`** - Validates DDEV Mutagen sync configuration

### Build &amp; Release

[](#build--release)

- **`bumpsComposer()`** - Validates automatic composer dependency bumping
- **`usesReleaseIt()`** - Validates automated release management
- **`hasNpmScripts()`** - Validates required npm build scripts

### Security &amp; Configuration

[](#security--configuration)

- **`hasDailyLogging()`** - Validates logging uses `daily` channel (directly or via `stack`)
- **`hasEncryptedEnvFile()`** - Validates encrypted environment file exists
- **`hasGuidelinesUpdateScript()`** - Validates baseline guidelines update script
- **`callsBaseline()`** - Validates self-validation runs after updates

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Linus Metzler](https://github.com/limenet)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance88

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 97.4% 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 ~3 days

Total

70

Last Release

47d ago

Major Versions

v0.2.12 → v1.0.02025-11-07

PHP version history (2 changes)v0.1.0PHP ^8.3

v0.1.6PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/60ffeab38b702282a7178b82152e912d8a5e934fe5cb63df272a9392f00b8f84?d=identicon)[limenet](/maintainers/limenet)

---

Top Contributors

[![limenet](https://avatars.githubusercontent.com/u/474329?v=4)](https://github.com/limenet "limenet (150 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

laravelLinus Metzlerlaravel-baseline

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/limenet-laravel-baseline/health.svg)

```
[![Health](https://phpackages.com/badges/limenet-laravel-baseline/health.svg)](https://phpackages.com/packages/limenet-laravel-baseline)
```

###  Alternatives

[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.0k7.8M57](/packages/dedoc-scramble)[worksome/envy

Automatically keep your .env files in sync.

6871.8M](/packages/worksome-envy)[ssch/typo3-rector

Instant fixes for your TYPO3 PHP code by using Rector.

2592.8M263](/packages/ssch-typo3-rector)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

134391.5k12](/packages/rector-rector-src)[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

206120.5k1](/packages/guava-filament-knowledge-base)

PHPackages © 2026

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