codebar-ag / laravel-postfinance-b2b
B2B Service integration for Laravel
Installs: 1 428
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 2
Requires
- php: ^8.2
- ext-soap: *
- ext-xsl: *
- guzzlehttp/guzzle: ^7.5
- illuminate/contracts: ^10.0
- monolog/monolog: ^3.5
- nyholm/psr7: ^1.8
- php-http/logger-plugin: ^1.3
- php-soap/psr18-wsse-middleware: ^2.3
- phpro/soap-client: ^3.1
- spatie/laravel-package-tools: ^1.9.2
- symfony/http-client: ^6.2
Requires (Dev)
- laravel/pint: ^1.5
- nunomaduro/collision: ^7.0
- nunomaduro/larastan: ^2.4.0
- orchestra/testbench: ^8.0
- pestphp/pest: 2.x-dev
- pestphp/pest-plugin-laravel: 2.x-dev
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^10.0
- spatie/laravel-ray: ^1.9
This package is auto-updated.
Last update: 2024-10-12 23:20:50 UTC
README
Invoice download web services provided by PostFinance
๐ง Testing
Copy your own phpunit.xml-file.
cp phpunit.xml.dist phpunit.xml
Modify environment variables in the phpunit.xml-file:
<env name="POSTFINANCE_B2B_WSDL" value="wds"/> <env name="POSTFINANCE_B2B_CACHE_WSDL" value="wsdl"/> <env name="POSTFINANCE_B2B_USERNAME" value="username"/> <env name="POSTFINANCE_B2B_PASSWORD" value="password"/> <env name="POSTFINANCE_B2B_DEBUG" value="debug"/> <env name="POSTFINANCE_B2B_TESTS_PAYER_ID" value=""/> <env name="POSTFINANCE_B2B_TESTS_BILLER_ID" value=""/> <env name="POSTFINANCE_B2B_TESTS_TRANSACTION_ID" value=""/> <env name="POSTFINANCE_B2B_TESTS_FILE_TYPE" value="RGXMLSIG"/>
Run the tests:
./vendor/bin/pest
๐ Changelog
Please see CHANGELOG for more information on what has changed recently.
โ๏ธ Contributing
Please see CONTRIBUTING for details.
POSTFINANCE_B2B_USERNAME=xxxxx POSTFINANCE_B2B_PASSWORD='XXXXX' POSTFINANCE_B2B_DEBUG=true composer test
Code Style
./vendor/bin/pint
๐งโ๐ป Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
๐ Credits
๐ญ License
The MIT License (MIT). Please see License File for more information.