Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andersao/moip-assinaturas-laravel
Laravel - Integração com a API de Assinatura da Moip
https://github.com/andersao/moip-assinaturas-laravel
Last synced: about 2 months ago
JSON representation
Laravel - Integração com a API de Assinatura da Moip
- Host: GitHub
- URL: https://github.com/andersao/moip-assinaturas-laravel
- Owner: andersao
- Created: 2015-03-02T02:56:05.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-09T00:18:06.000Z (over 9 years ago)
- Last Synced: 2024-04-24T03:15:58.919Z (9 months ago)
- Language: PHP
- Size: 156 KB
- Stars: 6
- Watchers: 7
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Moip Assinaturas - Laravel
## Installation
In your terminal run **composer require prettus/moip-assinaturas-laravel.** This will grab the last release.
Or
Edit your composer.json like this:
```json
"require": {
....
"prettus/moip-assinaturas-laravel": "dev-master"
}
```Issue composer update
### Laravel 5
Add to config/app.php service provider array:
```php
'Prettus\MoipLaravel\Subscription\SubscriptionServiceProvider',
```Publish Configuration
```shell
php artisan vendor:publish --provider="Prettus\MoipLaravel\Subscription\SubscriptionServiceProvider"
```### Laravel 4
Add to app/config/app.php service provider array:
```php
'Prettus\MoipLaravel\Subscription\SubscriptionServiceProviderLaravel4',
```Publish Configuration
```shell
php artisan config:publish prettus/moip-assinaturas-laravel
```### Alias
```php
'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)](https://github.com/andersao/moip-assinaturas-php/wiki/planos)
- [MoipClientes (Customers)](https://github.com/andersao/moip-assinaturas-php/wiki/clientes)
- [MoipAssinaturas (Subscriptions)](https://github.com/andersao/moip-assinaturas-php/wiki/assinaturas)
- [MoipFaturas (Invoice)](https://github.com/andersao/moip-assinaturas-php/wiki/faturas)
- [MoipPagamentos (Payments)](https://github.com/andersao/moip-assinaturas-php/wiki/pagamentos)
- [MoipPreferencias (Preferences)](https://github.com/andersao/moip-assinaturas-php/wiki/prefer%C3%AAncias)# Author
Anderson Andrade -