enum

Strongly typed enums in PHP supporting autocompletion and refactoring (by spatie)

Enum Alternatives

Similar projects and alternatives to enum

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

enum reviews and mentions

Posts with mentions or reviews of enum. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-25.
  • Safely upgrade from PHP 7.4 to 8.1 using Rector
    2 projects | dev.to | 25 Sep 2022
    That last rule SpatieEnumClassToEnumRector is skipped because I'm using the spatie/enum package, and I don't want it to be converted to PHP native enums automatically. The reason for that is that the Spatie package has some nice little helpers, and it's safer in my opinion to migrate some of the enums manually.
  • Laravel 9: Enums!
    1 project | dev.to | 30 Jan 2022
    And yes! Finally we have official support for Enums in php 8.1 although we could add them to Laravel framework by using third-party packages like spatie/enums.

Stats

Basic enum repo stats
2
747
3.2
8 days ago

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

The primary programming language of enum is PHP.


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