cspray/yape

Type-safe, object-backed enum implementation in userland PHP.

Installs: 1 306

Dependents: 5

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 2

pkg:composer/cspray/yape

3.1.0 2021-03-19 21:42 UTC

This package is auto-updated.

Last update: 2025-09-20 06:59:19 UTC


README

A type-safe, object-backed enum implemented in userland PHP. Combined with cspray/yape-cli aims to provide an easy way to use enums in your PHP codebase.

Requirements

  • PHP 7.2+

Installation

composer require cspray/yape

We also recommend taking a look at cspray/yape-cli and cspray/yape-dbal.

Documentation

The library is documented in-repo under the docs/ folder, online at http://cspray.io/yape, and within the source code itself.