codebar-ag / laravel-postfinance-b2b
B2B Service integration for Laravel
Installs: 1 537
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: >=8.2
- ext-soap: *
- ext-xsl: *
- guzzlehttp/guzzle: ^7.8
- illuminate/contracts: ^11.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.16
- symfony/http-client: ^6.4
Requires (Dev)
- larastan/larastan: ^2.9
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.1
- orchestra/testbench: ^9.0
- pestphp/pest: ^2.34
- pestphp/pest-plugin-laravel: ^2.3
- phpstan/extension-installer: ^1.3
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-phpunit: ^1.3
- phpunit/phpunit: ^10.5
- spatie/laravel-ray: ^1.35
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
- Sebastian Bürgin-Fix
- All Contributors
- Skeleton Repository from Spatie
- Laravel Package Training from Spatie
🎭 License
The MIT License (MIT). Please see License File for more information.