/base-user

PHP classes releated to users that are strictly non-application-specific

Primary LanguagePHPMIT LicenseMIT

User Component

What is User?

The Base User provides classes releated to users that are strictly non-application-specific.

Requirements

Supported on PHP 5.5 and up and HHVM 3.2 and up.

Install in projects

$ composer require wearebase/base-user dev-master

Test classes are autoloaded by default. These can be disabled with the --no-dev option

Running tests

You can run the unit tests with the following command:

$ composer install
$ ./vendor/bin/phpunit

To run tests on a different PHP version, you can use Docker:

$ docker run -it --rm -v "$(pwd)":/home/test -w /home/test php:5.6-cli php ./vendor/bin/phpunit

To run QA tools such as code coverage

$ ant

Contributing

Follow PSR-1, PSR-2 and PSR-4.