fripixel/moip-assinaturas-laravel

Laravel - Integração com a API de Assinatura da Moip

dev-master 2016-07-31 22:12 UTC

This package is auto-updated.

Last update: 2024-11-19 10:22:54 UTC


README

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