Active contribution and patches are very welcome. See the github issues. To keep things in shape we have quite a bunch of examples and features. If you're submitting pull requests please make sure that they are still passing and if you add functionality please take a look at the coverage as well it should be pretty high :)
- First fork or clone the repository
git clone git://github.com/badges/poser.git
cd poser
- Install vendors:
composer install
- Run specs:
composer phpspec
- Then run behat:
composer behat
docker-compose up --build -d
docker-compose exec php83 composer install
docker-compose exec php83 composer phpspec
docker-compose exec php83 composer behat
docker-compose exec php83 composer php-cs-fixer
or
Please before to push a PR execute php-cs-fixer for the code check-style and run all tests
$ composer php-cs-fixer
$ composer phpspec
$ composer behat
$ docker run --privileged --rm tonistiigi/binfmt --install all
$ docker buildx create --name mybuilder
$ docker buildx use mybuilder
$ docker buildx build \
--platform linux/amd64,linux/arm64 \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--push \
-t pugx/poser:php81 \
-f .docker/base/php81/Dockerfile \
.