Packagist · packagist:marc-mabe/php-enum
marc-mabe/php-enum active
Simple and fast implementation of enumerations with native PHP
| Latest stable version | 4.7.2 |
|---|---|
| Published | 2025-09-14 11:18:39+00:00 |
| Install | composer require marc-mabe/php-enum |
| Required PHP version (composer.json) | PHP ^7.1 || ^8.0 |
| License | BSD-3-Clause |
| Advisories on latest version | none known |
| Last verified | 2026-10-08 20:59:51 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | slowing down |
|---|---|
| Last stable release | 2025-09-14 11:18:39 UTC · 389 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 39 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
4.7.2 | 2025-09-14 11:18:39 UTC |
4.7.1 | 2024-11-28 04:54:44 UTC |
4.7.0 | 2022-04-19 02:21:46 UTC |
4.6.1 | 2022-02-13 06:05:42 UTC |
3.2.0 | 2022-02-13 05:42:09 UTC |
4.6.0 | 2022-01-06 08:15:14 UTC |
4.4.0 | 2020-10-12 21:17:47 UTC |
4.3.0 | 2020-04-27 09:55:52 UTC |
4.2.0 | 2019-12-18 09:03:05 UTC |
4.1.1 | 2019-09-19 06:17:32 UTC |
4.1.0 | 2019-07-02 04:46:33 UTC |
4.0.0 | 2019-05-21 20:23:38 UTC |
2.3.2 | 2019-03-16 18:21:30 UTC |
3.1.1 | 2019-02-02 18:47:58 UTC |
3.1.0 | 2019-01-27 22:18:56 UTC |
3.0.2 | 2018-08-06 18:02:48 UTC |
3.0.1 | 2018-05-22 10:45:45 UTC |
3.0.0 | 2017-11-05 14:47:17 UTC |
2.3.1 | 2016-12-21 13:13:11 UTC |
2.3.0 | 2016-12-07 21:18:12 UTC |
Showing the 20 most recent of 28 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 | 4.7.2 |
php 8.0 | 4.7.2 |
php 8.1 | 4.7.2 |
php 8.2 | 4.7.2 |
php 8.3 | 4.7.2 |
php 8.4 | 4.7.2 |
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 marc-mabe/php-enum?
The latest stable version of marc-mabe/php-enum is 4.7.2, published on 2025-09-14. Verified by Vigia on 2026-10-08.
How do I install the latest version of marc-mabe/php-enum?
Run composer require marc-mabe/php-enum. The latest stable version is 4.7.2 (verified 2026-10-08).
Is marc-mabe/php-enum deprecated?
No. marc-mabe/php-enum is not marked as deprecated in the registry.
Which PHP version does marc-mabe/php-enum require?
marc-mabe/php-enum 4.7.2 declares this requirement: PHP ^7.1 || ^8.0.
Does marc-mabe/php-enum 4.7.2 have known vulnerabilities?
No known advisories affect marc-mabe/php-enum 4.7.2 according to the data Vigia checks.
Is marc-mabe/php-enum still maintained?
marc-mabe/php-enum published 0 stable releases in the last 12 months; the most recent was 389 days ago. Activity: slowing down.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- spatie/backtrace
- barryvdh/laravel-dompdf
- clue/ndjson-react
- league/oauth1-client
- spatie/temporary-directory
- laravel/socialite
- symfony/html-sanitizer
- grpc/grpc
- setasign/fpdi
- league/event
- defuse/php-encryption
- doctrine/orm
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/marc-mabe/php-enum) [](https://vigia.coredls.cloud/packagist/marc-mabe/php-enum) [](https://vigia.coredls.cloud/packagist/marc-mabe/php-enum)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/marc-mabe/php-enum
GET https://vigia.coredls.cloud/v1/packages/packagist/marc-mabe/php-enum/versions/{version}