Download the PHP package twint-ag/sdk without Composer
On this page you can find all versions of the php package twint-ag/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package sdk
Short Description PHP SDK for TWINT
License MIT
Homepage https://twint.ch
Informations about the package sdk
TWINT SDK
PHP SDK for TWINT.
Development
Setup
- Run
make dev
to start the development environment based ondocker compose
and enter a shell - Copy
.env.example
to.env
and configure your values - Run
make install
to install composer dependencies
Tests
- Run
make test
- Run
make wiremock-setup
once, if you want to set up the local WireMock mappings
- Run
- Run
make test-unit
to run unit tests only - Run
make test-integration
to run integration tests only
All checks
- Run
make check
to run all checks (tests, static analysis, linting, codegen). This should be done before pushing changes. - Run
make static-analysis
to run PHPStan - Run
make format
to apply auto-formatting
Documentation
- Run
make dev-docs
to enter shell - Run
make docs
to generate documentation
Code generation
Place new WSDL and XSD files in resources/wsdl
directory and run make codegen
to update the generated code.
Release
Run VERSION=… make tag
, e.g. VERSION=1.0.0 make tag
, to create a new release tag. This will also push the tag to
the remote repository and trigger synchronization with GitHub/Packagist.
Multi-version PHP development
The default PHP version for development is 8.1 but the SDK also supports 8.2. and 8.3. To switch the PHP version,
edit TWINT_SDK_PHP_VERSION
in the .env
file and run make restart
to boot the development environment with the
selected PHP version.
All versions of sdk with dependencies
ext-xsl Version *
ext-dom Version *
ext-openssl Version *
ext-intl Version *
php-soap/engine Version ^2.7
php-soap/ext-soap-engine Version ^1.4
php-soap/psr18-transport Version ^1.5.0
guzzlehttp/guzzle Version ^7.4
webimpress/safe-writer Version ^2.0
azjezz/psl Version ^2.5.0 || ^3.0
psr/clock Version ^1.0
veewee/xml Version ^3.0.0
danielburger1337/sha3-shake Version ^1.0
composer/ca-bundle Version ^1.5
phpseclib/phpseclib Version ^3.0