44 Repositories
PHP phpstan-strict Libraries
WooCommerce function and class declaration stubs for static analysis.
WooCommerce Stubs This package provides stub declarations for WooCommerce functions, classes and interfaces. These stubs can help plugin and theme dev
WPForms coding standards are based on the WordPress Coding Standards and the PHPCompatibility Coding Standards and help create strict and high-quality code.
WPForms coding standards are based on the WordPress Coding Standards and the PHPCompatibility Coding Standards and help create strict and high-quality code.
Perform static analysis of Drupal PHP code with phpstan-drupal.
Perform static analysis of Drupal PHP code with PHPStan and PHPStan-Drupal on Drupal using PHP 8. For example: docker run --rm \ -v $(pwd)/example01
WordPress extensions for PHPStan ⛏️
WordPress extensions for PHPStan Static analysis for the WordPress ecosystem. PHPStan WordPress Installation Add this package to your project. compose
Repository containing all the PHPStan rules from the book "Recipes for Decoupling"
PHPStan rules from the book "Recipes for Decoupling" by Matthias Noback In the book "Recipes for Decoupling" we discuss how to decouple from web and C
Extension for PHPStan to allow analysis of Drupal code.
phpstan-drupal Extension for PHPStan to allow analysis of Drupal code. Sponsors Would you like to sponsor? Usage When you are using phpstan/extension-
PHPStan extension for sealed classes and interfaces.
Sealed classes with PHPStan This extension adds support for sealed classes and interfaces to PHPStan. Installation To use this extension, require it v
Various PHPStan rules we found useful in ShipMonk.
ShipMonk PHPStan rules Various rules we found useful in ShipMonk. You may found some of them opinionated, so we recommend picking only those fitting y
Dockerise Symfony Application (Symfony 6 + Clean Architecture+ DDD+ CQRS + Docker + Xdebug + PHPUnit + Doctrine ORM + JWT Auth + Static analysis)
Symfony Dockerise Symfony Application Install Docker Install Docker Compose Docker PHP & Nginx Create Symfony Application Debugging Install Xdebug Con
An extension for PHPStan for adding analysis for PHP Language Extensions.
PHPStan PHP Language Extensions (currently in BETA) This is an extension for PHPStan for adding analysis for PHP Language Extensions. Language feature
The Barista explores every Latte (file) for strict quality, helps with Latte 2 to 3 upgrade
The Barista makes Your Perfectly Tasty Latte Do you drink Latte with your templates? Get it from Barista that knows his job: explore Latte via node vi
PHPStan extension for webmozart/assert
PHPStan webmozart/assert extension PHPStan webmozart/assert Description The main scope of this extension is to help phpstan to detect the type of obje
PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.
Rules for detecting usage of deprecated classes, methods, properties, constants and traits. PHPStan Installation To use this extension, require it in
Set of rules for PHP_CodeSniffer and PHP-CS-Fixer used by Symplify projects.
20+ Coding Standard checkers for PHP projects with focus on Clean Architecture
PHPStan PHPUnit extensions and rules
PHPStan PHPUnit extensions and rules PHPStan PHPUnit This extension provides following features: createMock(), getMockForAbstractClass() and getMockFr
Strict PSR-7 implementation used by the Slim Framework
Strict PSR-7 implementation used by the Slim Framework, but you may use it separately with any framework compatible with the PSR-7 standard.
PHPStan Symfony Framework extensions and rules
PHPStan Symfony Framework extensions and rules PHPStan This extension provides following features: Provides correct return type for ContainerInterface
The tool converts different error reporting standards for deep compatibility with popular CI systems (TeamCity, IntelliJ IDEA, GitHub Actions, etc).
JBZoo / CI-Report-Converter Why? Installing Using as GitHub Action Example GitHub Action workflow Available Directions Help description in terminal Co
Doctrine extensions for PHPStan
Doctrine extensions for PHPStan PHPStan Doctrine This extension provides following features: DQL validation for parse errors, unknown entity classes a
The main scope of this extension is to help phpstan to detect the type of object after the Assert\Assertion validation.
PHPStan beberlei/assert extension PHPStan beberlei/assert Description The main scope of this extension is to help phpstan to detect the type of object
Phpstan-dba - database handling related class reflection extension for PHPStan & framework-specific rules
database handling class reflection extension for PHPStan This extension provides following features: PDO-query knows the array shape of the returned
Docker image that provides static analysis tools for PHP
Static Analysis Tools for PHP Docker image providing static analysis tools for PHP. The list of available tools and the installer are actually managed
⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
⚗️ About Larastan Larastan was created by Can Vural and Nuno Maduro, got artwork designed by @Caneco, is maintained by Can Vural, Nuno Maduro, and Vik
Enforce that your classes get only instantiated by the factories you define!
Enforce that your classes get only instantiated by the factories you define!
WordPress core test suite function and class declaration stubs for static analysis by PHPStan
WordPress Core Test Suite Stubs This package provides stub declarations for the WordPress Core Test Suite functions, classes and interfaces. These stu
Custom PHPStan rules
phpstan-rules Provides additional rules for phpstan/phpstan. Installation Run $ composer require --dev alister/phpstan-rules Usage All of the rules pr
A PHPStan package that supports working with Extbase
PHPStan for Extbase This package provides a couple of stubs and services to make your life easier when working with PHPStan and Extbase. Examples clas
Sandbox project for the PHPStan workshop
Sandbox project for a PHPStan workshop Installation Requirements Docker Engine Docker Compose Git Bash Getting started Clone this repository (git clon
Magento specific extension for phpstan
bitexpert/phpstan-magento This package provides some additional features for PHPStan to make it work for Magento 2 projects. Installation The preferre
Next generation phpDoc parser with support for intersection types and generics.
PHPDoc-Parser for PHPStan PHPStan Next generation phpDoc parser with support for intersection types and generics. Code of Conduct This project adheres
Analyzes PHPStan baseline files and creates aggregated error trend-reports
Analyzes phpstan baseline files Analyzes PHPStan baseline files and creates aggregated error trend-reports.
Modern version of pocketmine forms API, ported to PHP 8.0+ with high quality code and phpstan integration
forms Modern version of pocketmine forms API, ported to PHP 8.0+ with high quality code and phpstan integration Code samples ModalForm Using ModalForm
PHPStan extension to support #[Readonly] constructor properties
icanhazstring/phpstan-readonly-property Support #[Readonly] promoted constructor properties for PHPStan. This library is used to have a full transitio
An implementation of the Minecraft: Bedrock Edition protocol in PHP
BedrockProtocol An implementation of the Minecraft: Bedrock Edition protocol in PHP This library implements all of the packets in the Minecraft: Bedro
A server software for Minecraft: Bedrock Edition in PHP
A highly customisable, open source server software for Minecraft: Bedrock Edition written in PHP Getting started Documentation Installation instructio
Symplify - Making Everyday PHP Development Simple
Symplify - Making Everyday PHP Development Simple In this monorepo you'll find PHP packages that help you with: your first coding standard maintenance
Missing data types for PHP. Highly extendable.
Neverending data validation can be exhausting. Either you have to validate your data over and over again in every function you use it, or you have to rely it has already been validated somewhere else and risk potential problems.
The tool converts different error reporting standards for deep compatibility with popular CI systems (TeamCity, IntelliJ IDEA, GitHub Actions, etc).
JBZoo / CI-Report-Converter Why? Installing Using as GitHub Action Example GitHub Action workflow Available Directions Help description in terminal Co
PHPStan Rules for Rector developers
Rector PHPStan Rules PHPStan rules for Rector and projects that maintain Rector rulesets. Install composer require rector/phpstan-rules --dev Do you u
Another web based photo gallery
Phyxo Simply share your images. Requirements This project use severals librairies that need at least PHP 7.3.0 This project uses a database and suppor
Enables type-safe comparisons of objects in PHPUnit.
Strict PHPUnit Enables type-safe comparisons of objects in PHPUnit. Problem PHPUnit has a very powerful comparison system that helps you comparing obj
PHP package to make your objects strict and throw exception when you try to access or set some undefined property in your objects.
📢 Yell PHP package to make your objects strict and throw exception when you try to access or set some undefined property in your objects. Requirement
PHP Static Analysis Tool - discover bugs in your code without running it!
PHPStan - PHP Static Analysis Tool PHPStan focuses on finding errors in your code without actually running it. It catches whole classes of bugs even b
A starter-kit for your PHP project.
PHP Noise A starter-kit for your PHP project. It includes frequently needed boilerplate setups (ci, badges, etc.) 📦 Installation To install this appl