timeweb/phpstan-enum 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

timeweb/phpstan-enum

最新稳定版本:4.0.0

Composer 安装命令:

composer require timeweb/phpstan-enum

包简介

Enum class reflection extension for PHPStan

README 文档

README

Build Status License Latest Stable Version Latest Unstable Version

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 git@github.com: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 git@github.com:timeweb/phpstan-enum.git
cd phpstan-enum
make install
make phpunit

统计信息

  • 总下载量: 3.12M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 44
  • 点击次数: 4
  • 依赖项目数: 21
  • 推荐数: 0

GitHub 信息

  • Stars: 44
  • Watchers: 5
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04