acelaya / doctrine-enum-type

A custom Doctrine type that maps column values to enum objects using myclabs/php-enum
MIT License
132 stars 15 forks source link

Future plans for this library #62

Open acelaya opened 3 years ago

acelaya commented 3 years ago

With the recent approval of native enums landing in PHP 8.1, I have been thinking how does that affect to this library, and I see these possible scenarios.

Doctrine starts supporting native enums itself

I think this is the most likely one.

If this happens, I'll change the supported PHP versions to ^7.4 || ~8.0.0 and deprecate this library, recommending people to migrate to native enums.

Once PHP 7.4 reaches end of life, I'll archive this repository and abandon the composer package.

Doctrine does not support native enums

In this case I'll adapt this package to support native enums once PHP 8.1 is released, and continue maintaining it.


Regardless the scenario, this library will continue being maintained for the time being, until other projects start making moves.

If you have more information that could affect this decision, feel free to leave a comment here.

acelaya commented 2 years ago

As of today, this library is no longer relevant if you are using PHP 8.1 https://www.doctrine-project.org/2022/01/11/orm-2.11.html

These are good news 🙂