api-platform / api-platform/schema-generator
Support PHP 8.1 enum
Open
enhancement
- Dominant language
- PHP
- Stars
- 474
- Forks
- 107
- PR merge metrics
- No merged PRs in 30d
Description
**Description**
Currently, the Schema Generator only supports enums through [myclabs/php-enum](https://github.com/myclabs/php-enum). Since 8.1, PHP natively supports enum. The Schema Generator should use it instead of myclabs/php-enum.
To do so, we should bump PHP version to 8.1, as it's already done in [api-platform/core](https://github.com/api-platform/core).
**Example**
Contributor guide
Assessment
This issue has not been assessed yet.