softpampa/moip-assinaturas-laravel

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

dev-master 2015-12-09 17:42 UTC

This package is not auto-updated.

Last update: 2020-09-18 20:43:32 UTC


README

Installation

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

Or

Edit your composer.json like this:

"require": {
    ....
    "softpampa/moip-assinaturas-php": "dev-master"
    "softpampa/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