prettus/moip-assinaturas-laravel

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

dev-master 2015-06-09 00:18 UTC

This package is auto-updated.

Last update: 2024-11-04 07:55:46 UTC


README

Installation

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

Or

Edit your composer.json like this:

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

Issue composer update

Laravel 5

Add to config/app.php service provider array:

    'Prettus\MoipLaravel\Subscription\SubscriptionServiceProvider',

Publish Configuration

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

Laravel 4

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

    'Prettus\MoipLaravel\Subscription\SubscriptionServiceProviderLaravel4',

Publish Configuration

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

Alias

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

Facades

Facades Available

Author

Anderson Andrade - contato@andersonandra.de