PHPackages                             kfosoft/php-int-enum-x64 - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kfosoft/php-int-enum-x64

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kfosoft/php-int-enum-x64
========================

PHP/Mysql Integer Types (Exact Value) for x64 platforms

20.11(5y ago)04601MITPHPPHP &gt;=7.4.0

Since Oct 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/kfosoft/php-int-enum-x64)[ Packagist](https://packagist.org/packages/kfosoft/php-int-enum-x64)[ RSS](/packages/kfosoft-php-int-enum-x64/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (3)Used By (1)

PHP/Mysql Integer Types (Exact Value) for x64 platforms
=======================================================

[](#phpmysql-integer-types-exact-value-for-x64-platforms)

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

[](#installation)

Installation with Composer

Either run

```
    php composer.phar require --prefer-dist kfosoft/php-int-enum-x64:"*"

```

or add in composer.json

```
    "require": {
            ...
            "kfosoft/php-int-enum-x64" : "*"
    }

```

Types
-----

[](#types)

```
class IntegerX64 extends AbstractEnumeration
{
    public const ZERO                   = 0;

    public const TINYINT_MIN            = -128;
    public const TINYINT_MAX            = 127;
    public const TINYINT_UNSIGNED_MIN   = self::ZERO;
    public const TINYINT_UNSIGNED_MAX   = 255;

    public const SMALLINT_MIN           = -32768;
    public const SMALLINT_MAX           = 32767;
    public const SMALLINT_UNSIGNED_MIN  = self::ZERO;
    public const SMALLINT_UNSIGNED_MAX  = 65535;

    public const MEDIUMINT_MIN          = -8388608;
    public const MEDIUMINT_MAX          = 8388607;
    public const MEDIUMINT_UNSIGNED_MIN = self::ZERO;
    public const MEDIUMINT_UNSIGNED_MAX = 16777215;

    public const INT_MIN                = -2147483648;
    public const INT_MAX                = 2147483647;
    public const INT_UNSIGNED_MIN       = self::ZERO;
    public const INT_UNSIGNED_MAX       = 4294967295;

    public const BIGINT_MIN             = -9223372036854775808;
    public const BIGINT_MAX             = 9223372036854775807;
    public const BIGINT_UNSIGNED_MIN    = self::ZERO;
    public const BIGINT_UNSIGNED_MAX    = 18446744073709551615;
}

```

Enjoy, guys!

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

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 ~1883 days

Total

2

Last Release

2031d ago

Major Versions

1.0 → 20.112020-11-30

PHP version history (2 changes)1.0PHP &gt;=5.4.0

20.11PHP &gt;=7.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3544388a2defce630d5b16fe9c38c91057278147939e8fac9a419386c3984a98?d=identicon)[kfosoft](/maintainers/kfosoft)

---

Top Contributors

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

---

Tags

phpenumphp-enummysql integer typesmysql int typessql integer typessql int typessql integersql intphp mysql integer typesphp mysql int typesphp sql integer typesphp sql int typesphp sql integerphp sql int

### Embed Badge

![Health badge](/badges/kfosoft-php-int-enum-x64/health.svg)

```
[![Health](https://phpackages.com/badges/kfosoft-php-int-enum-x64/health.svg)](https://phpackages.com/packages/kfosoft-php-int-enum-x64)
```

###  Alternatives

[ducks-project/spl-types

Polyfill Module for SplType PHP extension. This extension aims at helping people making PHP a stronger typed language and can be a good alternative to scalar type hinting. It provides different typehandling classes as such as integer, float, bool, enum and string

1032.9k](/packages/ducks-project-spl-types)[zlikavac32/php-enum

Better PHP enum support

225.7k5](/packages/zlikavac32-php-enum)

PHPackages © 2026

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