PHPackages                             mazimez/laravel-gigapay - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. mazimez/laravel-gigapay

ActiveLibrary[API Development](/categories/api)

mazimez/laravel-gigapay
=======================

A simple API wrapper to Gigapay's APIs for Laravel Framework

v1.1.2(2y ago)8741MITPHP

Since May 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mazimez/laravel-gigapay)[ Packagist](https://packagist.org/packages/mazimez/laravel-gigapay)[ RSS](/packages/mazimez-laravel-gigapay/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

[![Laravel Gigapay cover](cover.png)](cover.png)

 [![](https://camo.githubusercontent.com/73c48cfc02ff6b3c87b1b8a8c1edb99b0b07259b1a26923a0c4e665f2752ddf9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6d617a696d657a2f6c61726176656c2d67696761706179)](https://camo.githubusercontent.com/73c48cfc02ff6b3c87b1b8a8c1edb99b0b07259b1a26923a0c4e665f2752ddf9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6d617a696d657a2f6c61726176656c2d67696761706179) [![](https://camo.githubusercontent.com/f820dd8aaeb34ef6d9aa49c760c156e18e267537d787c0f3f973c357dc12dafe/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6d617a696d657a2f6c61726176656c2d67696761706179)](https://camo.githubusercontent.com/f820dd8aaeb34ef6d9aa49c760c156e18e267537d787c0f3f973c357dc12dafe/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6d617a696d657a2f6c61726176656c2d67696761706179) [![](https://camo.githubusercontent.com/8efac7f943239dd9b3a6a630631303f12e2b71cafc9399c051bce212abe1f9fe/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6d617a696d657a2f6c61726176656c2d67696761706179)](https://camo.githubusercontent.com/8efac7f943239dd9b3a6a630631303f12e2b71cafc9399c051bce212abe1f9fe/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6d617a696d657a2f6c61726176656c2d67696761706179)

Laravel-Gigapay
===============

[](#laravel-gigapay)

A simple API wrapper for [Gigapay's](https://gigapay.co) APIs. It gives you helper methods that will make your work with `gigapay's` API easy, fast and efficient

**Laravel-Gigapay** manage resources like `Employees`, `Invoices`, `Payouts`, `Pricing` and `Webhooks`.

It uses the APIs provided by `Gigapay`, here is it's [API documentation](https://developer.gigapay.se)

You can also look into the [postman collection](https://documenter.getpostman.com/view/13692349/UyxkkR3T) to call the API by yourself to better understand it.

To understand the Event flow of `Gigapay`, you can see it's [Event Documentation](https://developer.gigapay.se/#events)

Table of contents
=================

[](#table-of-contents)

- [Installation](#installation)
- [Configuration](#configuration)
- [Employee](#employee)
    - [List](#employee-list)
    - [Creation](#employee-creation)
    - [Retrieve single](#employee-retrieve)
    - [Update](#employee-update)
    - [Replace](#employee-replace)
    - [Delete](#employee-delete)
    - [Resend Invite](#employee-resend)
    - [Helpers](#employee-helper)
- [Payout](#payout)
    - [List](#payout-list)
    - [Creation](#payout-creation)
    - [Multiple Creation](#payout-multiple-creation)
    - [Creation with inline Employee](#payout-inline-creation)
    - [Retrieve single](#payout-retrieve)
    - [Delete](#payout-delete)
    - [Resend](#payout-resend)
    - [Helpers](#payout-helper)
- [Invoice](#invoice)
    - [List](#invoice-list)
    - [Retrieve single](#invoice-retrieve)
    - [Update](#invoice-update)
    - [Delete](#invoice-delete)
- [Pricing](#pricing)
    - [List](#pricing-list)
    - [Retrieve single](#pricing-retrieve)
    - [Calculate Pricing](#pricing-calculate)
    - [Calculate Bulk](#pricing-calculate-bulk)
- [Webhook](#webhook)
    - [Set-up](#webhook-setup)
    - [List](#webhook-list)
    - [Creation](#webhook-creation)
    - [Retrieve single](#webhook-retrieve)
    - [Update](#webhook-update)
    - [Replace](#webhook-replace)
    - [Delete](#webhook-delete)
- [ListResource](#listresource)
    - [Pagination](#paginate)
    - [Search](#search)
    - [Expand Resources](#expand)
    - [Add Filter](#addFilter)
    - [Get JSON data](#getJson)
- [Exception Handling](#exception-handling)
    - [Gigapay Exception](#gigapay-exception)

Installation
============

[](#installation)

Install the package via composer:

`composer require mazimez/laravel-gigapay`

Publish the config file:

`php artisan vendor:publish --provider="Mazimez\Gigapay\GigapayServiceProvider"`

Configuration
=============

[](#configuration)

The published config file `config/gigapay.php` looks like:

```
