Download the PHP package adhenrique/zoop without Composer
On this page you can find all versions of the php package adhenrique/zoop. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download adhenrique/zoop
More information about adhenrique/zoop
Files in adhenrique/zoop
Package zoop
Short Description Zoop SDK to Laravel framework version 5.3+
License MIT
Informations about the package zoop
ZOOP Laravel
Zoop-laravel is a package for Laravel 5.3+, which consumes ZOOP payments api's.
Requeriments
- Laravel 5.3+
- PHP 5.6+
- PHP ext-curl
- PHP ext-json
- PHP ext-mbstring
Instalation
1 - Composer require
Use composer to install the package and automatically update composer.json
, running:
composer require adhenrique/zoop
2 - Update Laravel configuration
Update your application configuration to register the package in config/app.php
adding the following line in 'providers'
section:
'providers' => [
//...
Zoop\ZoopServiceProvider::class,
//...
],
3 - Publish ZOOP Laravel configuration
Use the following command to publish the configuration settings from config.example.php in zoop/src/resources/config/
:
php artisan vendor:publish --provider "Zoop\ZoopServiceProvider" --tag="config"
This will create the config/zoopconfig.php
configuration file. Now, change the following lines:
'defaults' => [
//...
'publishable_key' => 'YOUR_PUBLISHABLE_KEY',
'marketplace_id' => 'YOUR_MARKETPLACE_ID',
//...
]
...enjoy it :D.
Usage
1 - Tokenizer Credit Card
In your Controller
2 - Creating a new Individual Seller
In your Controller
3 - Creating a new Buyer
In your Controller
4 - Card Not Present Transaction
In your Controller
ZOOP Api Reference
All versions of zoop with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *