2017 © Pedro Peláez
 

library php-enum

PHP Enums inspired by Java Enums

image

crussell52/php-enum

PHP Enums inspired by Java Enums

  • Monday, March 28, 2016
  • by crussell52
  • Repository
  • 3 Watchers
  • 6 Stars
  • 4,208 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 3 Versions
  • 10 % Grown

The README.md

php-enum

This project is an Enumeration implementation for PHP >= 5.5 which is based on the concepts behind the Java Enum data type., (*1)

Normally, I don't try to force one language's constructs into a different language. However, in my time with Java I have grown to appreciate their Enum data type. I believe the functionality offered is significant enough to warrant a php implementation., (*2)

Check out the full Project Description and Usage on the Wiki!, (*3)

I've also included an example file which will demostrate the primary features of php-enum. (Just make sure you modify the path to the trait at the top of the file!), (*4)

The Versions

28/03 2016

dev-trait-to-abstract

dev-trait-to-abstract https://github.com/crussell52/php-enum

PHP Enums inspired by Java Enums

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

enum enumeration

10/03 2016

dev-master

9999999-dev https://github.com/crussell52/php-enum

PHP Enums inspired by Java Enums

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

enum enumeration

10/03 2016

v0.1

0.1.0.0 https://github.com/crussell52/php-enum

PHP Enums inspired by Java Enums

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

enum enumeration