Updated the documentation

This commit is contained in:
Cédric Belin
2018-11-21 20:01:43 +01:00
parent 4e9e67a695
commit 0b48ab9d02
4 changed files with 10 additions and 92 deletions

View File

@ -1,12 +1,10 @@
# Gitea <small>for PHP</small>
![Gitea](img/gitea.png)
## Yet another implementation of enumerated types
This implementation, based on [traits](https://secure.php.net/manual/en/language.oop5.traits.php), does not try to reproduce the semantics of traditional enumerations, like the ones found in C# or Java languages.
Unlike other [PHP](https://secure.php.net) implementations, like the [SplEnum](https://secure.php.net/manual/en/class.splgitea.php) class, it does not rely on object instances. Instead, it just gives a set of static methods to ease working with the `public` constants of a class representing an enumerated type.
[Gitea](https://gitea.io) client library, in [PHP](https://secure.php.net).
## Quick start
Install the latest version of **Enums for PHP** with [Composer](https://getcomposer.org):
Install the latest version of **Gitea for PHP** with [Composer](https://getcomposer.org):
```shell
composer require sab-international/gitea