2017 © Pedro Peláez
 

library laravel-moneybird

Moneybird package for Laravel based on Picq'ers client

image

casdr/laravel-moneybird

Moneybird package for Laravel based on Picq'ers client

  • Monday, April 16, 2018
  • by casdr
  • Repository
  • 2 Watchers
  • 1 Stars
  • 1,158 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 3 Versions
  • 13 % Grown

The README.md

laravel-moneybird

Latest Version on Packagist ![Software License][ico-license] Total Downloads, (*1)

This Laravel package is a wrapper for picqer/moneybird-php-client., (*2)

Install

Via Composer, (*3)

``` bash $ composer require casdr/laravel-moneybird, (*4)


Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider. ### Laravel without auto-discovery: If you don't use auto-discovery, add the ServiceProvider and the Facade to your `config/app.php`: ```php 'providers' => [ ... Casdr\Moneybird\MoneybirdServiceProvider::class, ], 'aliases' => [ ... 'Moneybird' => Casdr\Moneybird\MoneybirdFacade::class, ]

Then run the following command to publish the config to your config/ directory., (*5)

$ php artisan vendor:publish --tag=config

You then need to generate an application in the Moneybird interface and set the configuration for this module., (*6)

return [
    'redirect_uri' => 'urn:ietf:wg:oauth:2.0:oob',
    'client_id' => 'ij8uhui34g1409fn', // The client ID of your Moneybird application
    'client_secret' => 'hu4ht89y0rfhbsduofas', // The client secret of your Moneybird application
    'authorization_token' => '', // The authorization token for your account (https://developer.moneybird.com/authentication/#authentication) (optional)
    'access_token' => '', // The access token for your account  (optional)
    'administration_id' => '' // The administration ID you want to use (optional)
];

Usage

``` php $contact = Moneybird::contact();, (*7)

$contact->company_name = 'BlaLabs'; $contact->firstname = 'Cas'; $contact->lastname = 'de Reuver'; $contact->save(); ```, (*8)

For more usage information, see picqer/moneybird-php-client, (*9)

Credits

License

The MIT License (MIT). Please see License File for more information., (*10)

The Versions

16/04 2018

dev-master

9999999-dev https://github.com/casdr/laravel-moneybird

Moneybird package for Laravel based on Picq'ers client

  Sources   Download

MIT

The Requires

 

by Cas de Reuver

laravel moneybird

29/05 2017

v1.0.1

1.0.1.0 https://github.com/casdr/laravel-moneybird

Moneybird package for Laravel based on Picq'ers client

  Sources   Download

MIT

The Requires

 

by Cas de Reuver

laravel moneybird

25/05 2017

v1.0.0

1.0.0.0 https://github.com/casdr/laravel-moneybird

Moneybird package for Laravel based on Picq'ers client

  Sources   Download

MIT

The Requires

 

by Cas de Reuver

laravel moneybird