wearebase / base-core
Base Core Components
Installs: 3 296
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 9
Forks: 2
Open Issues: 1
Requires
- php: >=5.6 | >= 7.0
- symfony/serializer: ^2.7
- symfony/validator: ^2.7
Requires (Dev)
- phpunit/phpunit: ~4.1
This package is not auto-updated.
Last update: 2023-03-04 08:42:21 UTC
README
What is Core?
The Base Core provides PHP classes that are strictly non-application-specific and either non-domain-specific or cross multiple domains.
Requirements
Supported on PHP 5.5 and up and HHVM 3.2 and up.
Install in projects
$ composer require wearebase/base-core 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.