fripixel / moip-assinaturas-laravel
Laravel - Integração com a API de Assinatura da Moip
dev-master
2016-07-31 22:12 UTC
Requires
- php: >=5.5.9
- illuminate/support: 5.*
Requires (Dev)
- phpspec/phpspec: ~2.1
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2024-12-19 10:42:41 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
- MoipPlanos (Plans)
- MoipClientes (Customers)
- MoipAssinaturas (Subscriptions)
- MoipFaturas (Invoice)
- MoipPagamentos (Payments)
- MoipPreferencias (Preferences)
Author
Anderson Andrade - contato@andersonandra.de