machinepack / core
MachinePack is an abstraction library to use and connect different services and APIs
v2.23.22
2026-06-10 14:34 UTC
Requires
- php: >=7.0
- ext-soap: *
- braintree/braintree_php: 3.40.*
- campaignmonitor/createsend-php: ^6.0
- eway/eway-rapid-php: ^1.3
- mandrill/mandrill: 1.0.*
- marlincommunications/paypal-merchant-sdk-php: ^1.0
- stripe/stripe-php: ^7
- symfony/yaml: >=3.3
- twig/twig: >=2.12
Requires (Dev)
- machinepack/phpcs: *
- phpunit/phpunit: ^6.5
- squizlabs/php_codesniffer: ^3.3
This package is auto-updated.
Last update: 2026-06-10 14:35:10 UTC
README
This package contains all core functionality related to free MachinePacks.
Please visit our wiki for more information.
How to run tests using the Docker image
docker run --rm -it -v $(pwd):/app/ machinepack/core-php bash
cd app
cp test/Unit/MachinePackTest.env.yml test/Unit/MachinePackTest.yml
composer install
apt update && apt install entr
bin/watch.sh
How to run tests for your module only
find src/ test/ -name '*.php' | vendor/bin/phpunit --filter 'MachinePack\\Core\\Test\\Unit\\MachinePackEtapestryTest'
How to run tests on Windows
Check /bin/win/test.php file for instructions
Run command php ./bin/win/test.php
Updating the core test image
docker build bin/ -f ./Dockerfile -t machinepack/core-php:latest --pull \
&& docker push machinepack/core-php:latest