Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/victorcaina/getnet-php
GetNet PHP API
https://github.com/victorcaina/getnet-php
gateway getnet pagamento pagamentos-online php php53 sdk-php
Last synced: 3 months ago
JSON representation
GetNet PHP API
- Host: GitHub
- URL: https://github.com/victorcaina/getnet-php
- Owner: victorcaina
- License: mit
- Created: 2018-06-18T16:16:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-12T00:59:05.000Z (over 6 years ago)
- Last Synced: 2024-09-29T19:22:31.238Z (3 months ago)
- Topics: gateway, getnet, pagamento, pagamentos-online, php, php53, sdk-php
- Language: PHP
- Homepage:
- Size: 270 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# GetNet PHP SDK
[![Latest Stable Version](https://poser.pugx.org/getnet/getnet-php/v/stable)](https://packagist.org/packages/getnet/getnet-php)
[![Latest Unstable Version](https://poser.pugx.org/getnet/getnet-php/v/unstable)](https://packagist.org/packages/getnet/getnet-php)
[![License](https://poser.pugx.org/getnet/getnet-php/license)](https://packagist.org/packages/getnet/getnet-php)
[![Total Downloads](https://poser.pugx.org/getnet/getnet-php/downloads)](https://packagist.org/packages/getnet/getnet-php)PHP integration for [GetNet API](https://api.getnet.com.br/v1/doc/api)
## Installation
Via Composer
```sh
composer require 'getnet/getnet-php'
```## Usage
### Basic
you will need your Client ID and Client Secret to authenticate
```php
$authenticate = [
'client_id' => 'eb153ef1...e47b199',
'client_secret' => 'fcf1e007...de0b9e6'
];$authorization = new GetNet_Token($authenticate);
$authorization->authorize();
```
### Wiki
Check the [wiki](https://github.com/victorcaina/getnet-php/wiki) for detailed documentation.