prettus / moip-assinaturas-laravel
Laravel - Integração com a API de Assinatura da Moip
dev-master
2015-06-09 00:18 UTC
Requires
- php: >=5.4.0
- illuminate/support: 5.0.*|5.1.*
- prettus/moip-assinaturas-php: dev-master
Requires (Dev)
- phpspec/phpspec: ~2.1
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2024-12-04 08:13:18 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
- MoipPlanos (Plans)
- MoipClientes (Customers)
- MoipAssinaturas (Subscriptions)
- MoipFaturas (Invoice)
- MoipPagamentos (Payments)
- MoipPreferencias (Preferences)
Author
Anderson Andrade - contato@andersonandra.de