Download the PHP package dominservice/przelewy24-laravel without Composer
On this page you can find all versions of the php package dominservice/przelewy24-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dominservice/przelewy24-laravel
More information about dominservice/przelewy24-laravel
Files in dominservice/przelewy24-laravel
Package przelewy24-laravel
Short Description Przelewy24 Laravel library
License MIT
Homepage https://github.com/dominservice/przelewy24-laravel
Informations about the package przelewy24-laravel
Przelewy24 Laravel library
Laravel wrapper for dominservice/przelewy24-php.
Requirements
- PHP >=8.1
- Laravel >=9.0
Installation
Configuration
Add the following to your .env
file:
Setting PRZELEWY24_LIVE
to false
will use the sandbox environment. Set it to true
to use production/live mode.
Pos ID may also be set if necessary:
Usage
Here is a simple example of how the package can be used to create a transaction, listen for Przelewy24's webhook and verify the transaction. Dependency injection is used to get an instance of Przelewy24
:
As this package wraps the dominservice/przelewy24-php package, all methods are the same. For a more in-depth documentation, check its README.
All versions of przelewy24-laravel with dependencies
illuminate/contracts Version >=9.0
illuminate/support Version >=9.0
dominservice/przelewy24-php Version ^1.0