uwkluis/enums

Enumerations for the UwKluis API

0.1.10 2021-03-05 13:43 UTC

This package is auto-updated.

Last update: 2024-04-05 20:42:00 UTC


README

Latest Version on Packagist Software License Coverage Status Quality Score Total Downloads

This package contains enumerations relevant to connecting to the UwKluis APIs, as well as for the JSON data model.

Structure

src/
src/ConsumerConnection
src/Contracts
src/DataModel
src/Traits
tests/

Install

Via Composer

$ composer require uwkluis/enums

Usage

Instantiate enum objects with their allowed values.

<?php
use \UwKluis\Enums\ConsumerConnection\Status;

$status = new Status(Status::NEW);

echo $status->getDescription();

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email REDACTED instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.