2017 © Pedro Peláez
 

library phpenum

A useful enum wrapper.

image

goldspecdigital/phpenum

A useful enum wrapper.

  • Saturday, January 20, 2018
  • by goldspecdigital
  • Repository
  • 1 Watchers
  • 0 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 6 Versions
  • 32 % Grown

The README.md

PHP Enum Wrapper

Build Status, (*1)

A useful class which can be extended to give enum-like features to your code. Is intended to be used when modeling the MySQL enum type., (*2)

Features

  • Get an array of all the enum keys and values.
  • Check if the enum contains a value.
  • Check if the enum has a key.
  • Easy to use, simply extend the Enum class.

Installation

Simply run: composer require goldspecdigital/phpenum "~1.0", (*3)

Contributing

Anyone can contribute to this simple project. Simply submit a pull request at the goldspecdigital/phpenum repository., (*4)

The Versions

20/01 2018

1.0.x-dev

1.0.9999999.9999999-dev https://github.com/goldspecdigital/phpenum

A useful enum wrapper.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Matthew Inamdar

enum

20/01 2018

v1.0.3

1.0.3.0 https://github.com/goldspecdigital/phpenum

A useful enum wrapper.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Matthew Inamdar

enum

20/01 2018

dev-master

9999999-dev https://github.com/goldspecdigital/phpenum

A useful enum wrapper.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Matthew Inamdar

enum

12/12 2017

v1.0.2

1.0.2.0 https://github.com/goldspecdigital/phpenum

A useful enum wrapper.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Matthew Inamdar

enum

07/10 2017

v1.0.1

1.0.1.0

A useful enum wrapper.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Matthew Inamdar

enum

06/10 2017

v1.0.0

1.0.0.0

A useful enum wrapper.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Matthew Inamdar

enum