germania-kg / users
1.3.6
2022-03-30 10:21 UTC
Requires
- php: ^5.6|^7.0
- psr/container: ^1.0
- psr/log: ^1.0
Requires (Dev)
- php-coveralls/php-coveralls: ^2.0
- phpunit/phpunit: ^5.7|^6.0|^7.0
- ramsey/uuid: ^3.7|^3.8
README
This package is distilled from legacy code.
You certainly will not want to use this your production code.
Installation with Composer
Setup MySQL database with table creation listing in sql/users.sql.txt
. Use Composer for PHP:
$ composer require germania-kg/users
Development
$ git clone https://github.com/GermaniaKG/Users.git
$ cd Users
$ composer install
Unit tests
Either copy phpunit.xml.dist
to phpunit.xml
and adapt to your needs, or leave as is. Run PhpUnit test or composer scripts like this:
$ composer test # or $ vendor/bin/phpunit
TODO
• user_id column name in SQL still is client_id. This is legacy and subject to change in upcoming major versions.