PHP code example of pirabyte / laravel-lexware-office
1. Go to this page and download the library: Download pirabyte/laravel-lexware-office 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/ */
pirabyte / laravel-lexware-office example snippets
use Pirabyte\LaravelLexwareOffice\Facades\LexwareOffice;
$contact = LexwareOffice::contacts()->get($contactId);
use Pirabyte\LaravelLexwareOffice\LexwareOfficeFactory;
$client = LexwareOfficeFactory::withApiKey($apiKey);
$contact = $client->contacts()->get($contactId);
$client = app('lexware-office');
$client->setRateLimit(10);
bash
php artisan vendor:publish --provider="Pirabyte\LaravelLexwareOffice\LexwareOfficeServiceProvider" --tag="lexware-office-config"