Fripixel / moip-assinaturas-laravel by venturion
forked from andersao/moip-assinaturas-laravel

Laravel - Integração com a API de Assinatura da Moip
37
0
2
Package Data
Maintainer Username: venturion
Maintainer Contact: contato@fripixel.com.br (Fripixel)
Package Create Date: 2016-07-31
Package Last Update: 2016-07-31
Language: PHP
License: MIT
Last Refreshed: 2024-12-15 15:16:58
Package Statistics
Total Downloads: 37
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 1
Total Open Issues: 0

Moip Assinaturas - Laravel

Installation

In your terminal run composer require fripixel/moip-assinaturas-laravel. This will grab the last release.

Or

Edit your composer.json like this:

"require": {
    ....
    "fripixel/moip-assinaturas-php": "dev-master"
    "fripixel/moip-assinaturas-laravel": "dev-master"
}

Issue composer update

Laravel 5

Add to config/app.php service provider array:

    'Softpampa\MoipLaravel\Subscription\SubscriptionServiceProvider',

Publish Configuration

php artisan vendor:publish --provider="Softpampa\MoipLaravel\Subscription\SubscriptionServiceProvider"

Laravel 4

Add to app/config/app.php service provider array:

    'Softpampa\MoipLaravel\Subscription\SubscriptionServiceProviderLaravel4',

Publish Configuration

php artisan config:publish softpampa/moip-assinaturas-laravel

Alias

'MoipPlanos'        => 'Softpampa\MoipLaravel\Subscription\Facades\MoipPlanos',
'MoipFaturas'       => 'Softpampa\MoipLaravel\Subscription\Facades\MoipFaturas',
'MoipPagamentos'    => 'Softpampa\MoipLaravel\Subscription\Facades\MoipPagamentos',
'MoipPreferencias'  => 'Softpampa\MoipLaravel\Subscription\Facades\MoipPreferencias',
'MoipAssinaturas'   => 'Softpampa\MoipLaravel\Subscription\Facades\MoipAssinaturas',

Facades

Facades Available

Author

Anderson Andrade - contato@andersonandra.de