shopware / app-php-sdk
Shopware App SDK for PHP
3.1.3
2024-11-18 12:04 UTC
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0
- lcobucci/clock: ^3
- lcobucci/jwt: ^4.0 || ^5.0
- php-http/discovery: ^1.17
- psr/clock-implementation: *
- psr/event-dispatcher: ^1.0
- psr/http-client: ^1.0
- psr/http-client-implementation: *
- psr/http-factory: ^1.0
- psr/http-factory-implementation: *
- psr/http-message: ^1.0 || ^2.0
- psr/simple-cache: ^3.0
Requires (Dev)
- async-aws/dynamo-db: ~3.2
- friendsofphp/php-cs-fixer: ^3.16
- infection/infection: ^0.26.21
- nyholm/psr7: ^1.7.0
- nyholm/psr7-server: ^1.0
- php-http/curl-client: ^2.2
- phpstan/phpstan: ^1.10.14
- phpunit/phpunit: ^10.1
- symfony/polyfill-uuid: ^1.31
Suggests
- async-aws/dynamo-db: For using the DynamoDBRepository
This package is auto-updated.
Last update: 2024-11-22 09:06:36 UTC
README
This SDK is independent of any Framework. It uses PSR Request/Response/HttpClient to be usable cross framework.
Features
- Registration flow
- Lifecycle handling (app activated, deactivated, uninstalled)
- Convert actions (Webhook, ActionButton, Payment, ...) into structs
- Framework agnostic (PSR Request/Response/HttpClient/Repository)
- Events
Symfony Bundle
If you are using Symfony, you can use the Symfony Bundle to integrate the SDK. To get started with it, refer to the below documentation.
Documentation
Example
Checkout the example project for a simple working example.