PHPackages                             zimbra-api/enum - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. zimbra-api/enum

ActiveLibrary

zimbra-api/enum
===============

Enum libraries used by Zimbra Api

1.0.2(10y ago)02.7k1BSD (3-Clause) LicensePHPPHP &gt;=5.4.0

Since Feb 4Pushed 10y ago1 watchersCompare

[ Source](https://github.com/zimbra-api/enum)[ Packagist](https://packagist.org/packages/zimbra-api/enum)[ Docs](https://github.com/zimbra-api)[ RSS](/packages/zimbra-api-enum/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (1)

Zimbra Enum Component
=====================

[](#zimbra-enum-component)

Zimbra Enum provides enumarable classes for Zimbra Soap Api

The example below demonstrates how you can set up an enum class:

```
namespace Zimbra\Enum;

class CustomEnum extends Base
{
    const ENUM_CONST = 'enum value';
}

// $enum is a CustomEnum instance
$enum = CustomEnum::ENUM_CONST();

// this statement print 'enum value'
print $enum->value();
```

Installation
------------

[](#installation)

This package can be installed easily using `Composer `. Simply add the following to the composer.json file at the root of your project:

```
{
    "require": {
        "zimbra-api/enum": "*"
    }
}
```

Then install your dependencies using `composer.phar install`.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~25 days

Total

3

Last Release

3706d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5455921c0cb5b5853b4563307e7daf0124ed11e5a0043b815b45537f005050f2?d=identicon)[nguyennv](/maintainers/nguyennv)

---

Top Contributors

[![nguyennv](https://avatars.githubusercontent.com/u/311553?v=4)](https://github.com/nguyennv "nguyennv (23 commits)")

---

Tags

enum

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zimbra-api-enum/health.svg)

```
[![Health](https://phpackages.com/badges/zimbra-api-enum/health.svg)](https://phpackages.com/packages/zimbra-api-enum)
```

###  Alternatives

[myclabs/php-enum

PHP Enum implementation

2.7k227.9M637](/packages/myclabs-php-enum)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[dasprid/enum

PHP 7.1 enum implementation

382146.0M11](/packages/dasprid-enum)[spatie/enum

PHP Enums

84529.1M68](/packages/spatie-enum)[marc-mabe/php-enum

Simple and fast implementation of enumerations with native PHP

49644.8M97](/packages/marc-mabe-php-enum)[fresh/doctrine-enum-bundle

Provides support of ENUM type for Doctrine2 in Symfony applications.

4636.8M12](/packages/fresh-doctrine-enum-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
