Packagist · packagist:konekt/enum
konekt/enum active
SPL inspired PHP enum class implementation
| Latest stable version | 4.2.1 |
|---|---|
| Published | 2026-04-24 07:12:18+00:00 |
| Install | composer require konekt/enum |
| Required PHP version (composer.json) | PHP ^8.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-10-10 03:08:57 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-04-24 07:12:18 UTC · 169 days ago |
| Stable releases in the last 12 months | 1 |
| Published versions | 21 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
4.2.1 | 2026-04-24 07:12:18 UTC |
4.2.0 | 2024-02-29 15:32:06 UTC |
4.1.0 | 2023-06-07 09:39:44 UTC |
4.0.2 | 2023-02-17 16:10:07 UTC |
4.0.1 | 2022-03-11 19:19:35 UTC |
4.0.0 | 2022-03-10 17:18:19 UTC |
3.1.1 | 2021-09-30 17:56:50 UTC |
3.1.0 | 2020-11-28 21:37:27 UTC |
2.3.0 | 2019-06-25 17:08:18 UTC |
3.0.0 | 2019-06-24 20:39:03 UTC |
2.2.0 | 2019-02-14 09:46:22 UTC |
2.1.1 | 2018-06-09 13:03:01 UTC |
2.1.0 | 2017-10-13 14:21:22 UTC |
2.0.2 | 2017-09-26 13:03:30 UTC |
2.0.1 | 2017-09-14 12:21:09 UTC |
2.0.0 | 2017-09-13 09:47:28 UTC |
1.2.0 | 2016-12-14 04:58:07 UTC |
1.1.0 | 2016-07-06 10:40:41 UTC |
1.0.2 | 2016-05-31 06:18:12 UTC |
1.0.1 | 2016-05-30 20:28:25 UTC |
Showing the 20 most recent of 21 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
php 7.4 | 3.1.1 |
php 8.0 | 4.2.1 |
php 8.1 | 4.2.1 |
php 8.2 | 4.2.1 |
php 8.3 | 4.2.1 |
php 8.4 | 4.2.1 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of konekt/enum?
The latest stable version of konekt/enum is 4.2.1, published on 2026-04-24. Verified by Vigia on 2026-10-10.
How do I install the latest version of konekt/enum?
Run composer require konekt/enum. The latest stable version is 4.2.1 (verified 2026-10-10).
Is konekt/enum deprecated?
No. konekt/enum is not marked as deprecated in the registry.
Which PHP version does konekt/enum require?
konekt/enum 4.2.1 declares this requirement: PHP ^8.0.
Does konekt/enum 4.2.1 have known vulnerabilities?
No known advisories affect konekt/enum 4.2.1 according to the data Vigia checks.
Is konekt/enum still maintained?
konekt/enum published 1 stable releases in the last 12 months; the most recent was 169 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- rosell-dk/locate-binaries
- danielstjules/stringy
- konekt/concord
- jamesiarmes/php-ntlm
- tuupola/callable-handler
- rosell-dk/file-util
- romanzipp/laravel-queue-monitor
- robertfausk/behat-panther-extension
- ricorocks-digital-agency/soap
- rosell-dk/image-mime-type-sniffer
- genealabs/laravel-model-caching
- php-standard-library/json
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/konekt/enum) [](https://vigia.coredls.cloud/packagist/konekt/enum) [](https://vigia.coredls.cloud/packagist/konekt/enum)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/konekt/enum
GET https://vigia.coredls.cloud/v1/packages/packagist/konekt/enum/versions/{version}