Skip to content

crussell52/php-enum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-enum

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

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.

Check out the full Project Description and Usage on the Wiki!

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!)

About

A PHP implementation of Enumerators

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages