php-enum

The enum PHP is missing, inspired from SplEnum (by myclabs)

Php-enum Alternatives

Similar projects and alternatives to php-enum based on common topics and language

  • attributary

    Discontinued A library for PHP 8 Attribute developers. This library gives developers a similar experience to the Doctrine/Annotation library.

  • php-enum

    Simple and fast implementation of enumerations with native PHP (by marc-mabe)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • laravel-enum

    Simple, extensible and powerful enumeration implementation for Laravel.

  • enum

    Strongly typed enums in PHP supporting autocompletion and refactoring

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better php-enum alternative or higher similarity.

php-enum reviews and mentions

Posts with mentions or reviews of php-enum. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-17.
  • Weekly "ask anything" thread
    2 projects | /r/PHP | 17 Aug 2021
    My understanding of the new PHP enums are that they provide a first-class citizen for enum patterns in userland that are extremely common. For example, there is a popular enum library https://github.com/myclabs/php-enum. But many people craft these by hand in their projects. The main idea is to provide an abstraction over "strings that inform business logic" for lack of a better term.
  • My opinion on the PHP 8.1 Enum RFC
    1 project | dev.to | 30 Jan 2021
    This feature alone would likely cause me to drop myclabs/php-enum as my enum implementation.

Stats

Basic php-enum repo stats
2
2,709
3.2
2 months ago

myclabs/php-enum is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of php-enum is PHP.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com