2017 © Pedro Peláez
 

library phpstan-enum

Enum class reflection extension for PHPStan

image

timeweb/phpstan-enum

Enum class reflection extension for PHPStan

  • Friday, May 11, 2018
  • by timeweb
  • Repository
  • 2 Watchers
  • 3 Stars
  • 3,551 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 413 % Grown

The README.md

Enum class reflection extension for PHPStan

Build Status License Latest Stable Version Latest Unstable Version, (*1)

This extension defines dynamic methods for MyCLabs\Enum\Enum subclasses., (*2)

Usage

To use this extension, require it with Composer, (*3)

composer require --dev timeweb/phpstan-enum

If you also install phpstan/extension-installer then you're all set!, (*4)

Manual installation

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

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

The Versions

11/05 2018

dev-master

9999999-dev

Enum class reflection extension for PHPStan

  Sources   Download

MIT

The Requires

 

The Development Requires

enum phpstan

11/05 2018

v1.2.0

1.2.0.0

Enum class reflection extension for PHPStan

  Sources   Download

MIT

The Requires

 

The Development Requires

enum phpstan

21/06 2017

v1.1.0

1.1.0.0

Enum class reflection extension for PHPStan

  Sources   Download

MIT

The Requires

 

The Development Requires

enum phpstan

18/03 2017

v1.0.0

1.0.0.0

Enum class reflection extension for PHPStan

  Sources   Download

MIT

The Requires

 

The Development Requires

enum phpstan