PHP code example of lemmotresto / laravel-moneybird

1. Go to this page and download the library: Download lemmotresto/laravel-moneybird library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

lemmotresto / laravel-moneybird example snippets


'providers' => [
  ...
  LemmoTresto\Moneybird\MoneybirdServiceProvider::class,
],
'aliases' => [
  ...
  'Moneybird' => LemmoTresto\Moneybird\MoneybirdFacade::class,
]
bash
$ php artisan vendor:publish --tag=config
 php
$contact = Moneybird::contact();

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