The purpose of this small library is to provide a user interface, that can be used to pass a user around in a statically typed way. This library does not provide any way of storing and extracting user information, it just provides a user as an interface that uses groups to deal with permissions.
You can view the Full Documentation to lean more about what this offers.
Using .phar library
wget https://github.com/IMPHP/user/releases/download/<version>/imphp-user.phar
require "imphp-user.phar";
...
Clone via git
git clone https://github.com/IMPHP/user.git imphp/user/
Composer (Packagist)
composer require imphp/user