An open API service indexing awesome lists of open source software.

https://github.com/paygreen/paygreen-php

PHP SDK for the PayGreen API.
https://github.com/paygreen/paygreen-php

php sdk

Last synced: 9 months ago
JSON representation

PHP SDK for the PayGreen API.

Awesome Lists containing this project

README

          

# Paygreen PHP SDK

## 🚀 Getting Started

### Installation

```shell
composer require paygreen/paygreen-php
```

### Requirements

- PHP 8.0 and above (à partir de la version 1.4.0 du sdk).
Ce changement fait suite à l'évolution de l'interface RequestInterface de php-http/message.

- PHP 5.6 to 8.0 (voir les versions inférieures à 1.4.0.
- [PSR-18](https://www.php-fig.org/psr/psr-18/) HTTP Client like [Guzzle](https://github.com/guzzle/guzzle) or [curl-client](https://github.com/php-http/curl-client)

## 📚 Documentation

> 🚀 Find the documentation for Paygreen V3 [here](https://github.com/PayGreen/paygreen-php/tree/master/docs/v3).

## 🚧 Testing

Start docker stack:
```shell
docker compose up -d
```

PHPUnit tests:
```shell
docker compose exec php vendor/bin/phpunit tests
```

Behat tests:

```shell
docker compose exec php vendor/bin/behat
```