lychee-org/phpstan-lychee

Set of rules for all Lychee related php repo

Maintainers

Package info

github.com/LycheeOrg/phpstan-lychee

pkg:composer/lychee-org/phpstan-lychee

Transparency log

Statistics

Installs: 1 121

Dependents: 4

Suggesters: 0

Stars: 1

Open Issues: 0

2.0.4 2026-08-18 09:36 UTC

This package is auto-updated.

Last update: 2026-08-25 09:54:20 UTC


README

PHPStan focuses on finding bugs in your code. But in PHP there's a lot of leeway in how stuff can be written. This repository contains a set of rules that are applied on each LycheeOrg PHP repository.

This includes:

  • phpstan/phpstan — obviously...
  • phpstan/phpstan-deprecation-rules — avoiding any deprecation
  • phpstan/phpstan-strict-rules — strict and opinionated rules
  • thecodingmachine/phpstan-safe-rule — Ensure the use of Safe code
  • nunomaduro/larastan — stubs for Laravel
  • slam/phpstan-extensions — No unused variables
  • symplify/phpstan-rules — A lot of stricter rules with regard to coding standards.

Installation

To use this extension, require it in Composer:

composer require --dev lychee-org/phpstan-lychee