laravel-auth

PHP MIT

Stars
0
Forks
0
Downloads
N/A
Open Issues
0

Quality Report

Current Quality Baseline

This package targets:

  • PHP 8.2, 8.3, 8.4, 8.5
  • Laravel 10, 11, 12, and 13

Verification

The repository includes:

  • automated PHPUnit tests split into Unit and Feature suites
  • Orchestra Testbench-based package integration tests
  • PHPStan static analysis at level 5
  • Psalm type checking at error level 5
  • Laravel Pint code style enforcement (Laravel preset)
  • Rector automated modernisation checks (PHP 8.2 ruleset)
  • composer validate --strict validation
  • composer audit for dependency security scanning
  • GitHub Actions CI on push, pull request, and weekly security schedule

Current CI Matrix

The test workflow runs against these combinations:

PHP Laravel
8.2 10.x
8.3 10.x
8.3 11.x
8.3 12.x
8.4 11.x
8.4 12.x
8.4 13.x
8.5 12.x
8.5 13.x

Static analysis tools (PHPStan, Psalm, Pint) run on the PHP 8.2 / Laravel 10 baseline build.

Quality Gates

Changes should meet these checks before release:

  • Composer metadata validates with composer validate --strict
  • the full test suite passes (Unit + Feature)
  • all supported Laravel matrix jobs pass in GitHub Actions
  • PHPStan analysis at level 5 passes
  • Psalm at error level 5 passes
  • vendor/bin/pint --test reports no style violations
  • composer audit --no-dev reports no production security advisories
  • docs stay aligned with supported framework versions

Developer Commands

# Run all tests
composer test

# Run static analysis
composer analyse

# Run type checker
composer types

# Check code style (no changes)
composer lint

# Fix code style
composer format

# Run Rector in dry-run mode
composer refactor

Notes

Laravel 9 support has been intentionally removed because current dependency resolution for that line is blocked by security advisories in the Laravel 9 ecosystem. The package support policy now starts at Laravel 10.