All Projects → timeweb → phpstan-enum

timeweb / phpstan-enum

Licence: MIT license
Enum class reflection extension for PHPStan

Programming Languages

PHP
23972 projects - #3 most used programming language
shell
77523 projects
Dockerfile
14818 projects
Makefile
30231 projects

Projects that are alternatives of or similar to phpstan-enum

phpstan-wordpress
WordPress extensions for PHPStan ⛏️
Stars: ✭ 182 (+333.33%)
Mutual labels:  phpstan, phpstan-extension
phpstan-phpspec
PhpSpec extension for PHPStan
Stars: ✭ 19 (-54.76%)
Mutual labels:  phpstan, phpstan-extension
phpstan-dba
PHPStan based SQL static analysis and type inference for the database access layer
Stars: ✭ 163 (+288.1%)
Mutual labels:  phpstan, phpstan-extension
woocommerce-stubs
WooCommerce function and class declaration stubs for static analysis.
Stars: ✭ 49 (+16.67%)
Mutual labels:  phpstan
CI-Report-Converter
The tool converts different error reporting standards for deep compatibility with popular CI systems (TeamCity, IntelliJ IDEA, GitHub Actions, etc).
Stars: ✭ 17 (-59.52%)
Mutual labels:  phpstan
Phpstan
PHP Static Analysis Tool - discover bugs in your code without running it!
Stars: ✭ 10,534 (+24980.95%)
Mutual labels:  phpstan
php-skeleton
A skeleton to start new high-quality PHP projects without worrying about bootstrapping everything from scratch.
Stars: ✭ 23 (-45.24%)
Mutual labels:  phpstan
BetterPhpDocParser
[DEPRECATED] Moved to
Stars: ✭ 45 (+7.14%)
Mutual labels:  phpstan
args
Array arguments made bearable
Stars: ✭ 71 (+69.05%)
Mutual labels:  phpstan
Monofony
Main repository for all Monofony bundles
Stars: ✭ 47 (+11.9%)
Mutual labels:  phpstan
phpstan-symfony
*DEPRECATED* Symfony extension for PHPStan
Stars: ✭ 42 (+0%)
Mutual labels:  phpstan
annotate-pull-request-from-checkstyle
cs2pr - Annotate a GitHub Pull Request based on a Checkstyle XML-report within your GitHub Action
Stars: ✭ 146 (+247.62%)
Mutual labels:  phpstan
Larastan
⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
Stars: ✭ 3,554 (+8361.9%)
Mutual labels:  phpstan
phpstan-ga
GithubAction for PHPStan
Stars: ✭ 85 (+102.38%)
Mutual labels:  phpstan
vim-phpstan
A Vim plugin for PHPStan - https://github.com/phpstan/phpstan. It calls `phpstan` to do static analysis of your PHP code and displays the errors in Vim's quickfix list.
Stars: ✭ 26 (-38.1%)
Mutual labels:  phpstan
phpstan
PHP Static Analysis in Github Actions.
Stars: ✭ 41 (-2.38%)
Mutual labels:  phpstan
phpstan-custom
Specific PHPStan extensions
Stars: ✭ 15 (-64.29%)
Mutual labels:  phpstan
phpstan-nette
Nette Framework class reflection extension for PHPStan & framework-specific rules
Stars: ✭ 87 (+107.14%)
Mutual labels:  phpstan
php-toolbox
🐳 A Docker image designed for PHP developers that care about code quality.
Stars: ✭ 18 (-57.14%)
Mutual labels:  phpstan
phpstan-extensions
Extensions for PHPStan
Stars: ✭ 61 (+45.24%)
Mutual labels:  phpstan

Enum class reflection extension for PHPStan

Packagist Version GitHub Workflow Status

This extension defines dynamic methods for MyCLabs\Enum\Enum subclasses.

Usage

To use this extension, require it with Composer

composer require --dev timeweb/phpstan-enum

If you also install phpstan/extension-installer then you're all set!

Manual installation

If you don't want to use phpstan/extension-installer, include extension.neon in your project's PHPStan config:

includes:
  - vendor/timeweb/phpstan-enum/extension.neon

Install for Local Development

With docker

git clone [email protected]:timeweb/phpstan-enum.git
cd phpstan-enum
make docker-build
make install
make phpunit

Without docker (localy installed actual version of php, composer, etc)

git clone [email protected]:timeweb/phpstan-enum.git
cd phpstan-enum
make install
make phpunit
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].