eworks-manager-api-laravel maintained by chrisjohnleah
eWorks Manager API — Laravel
Laravel bridge for chrisjohnleah/eworks-manager-api,
the framework-agnostic Saloon SDK for eWorks Manager.
composer require chrisjohnleah/eworks-manager-api-laravel
The bridge provides automatic service-provider discovery, the
EworksManager facade, and a small manager for constructing a client from
application-supplied credentials. The core package owns provider headers,
timestamps, requests, and response normalization; migration and tenant policy
stay in the consuming application.
use ChrisJohnLeah\EworksManagerLaravel\Facades\EworksManager;
$client = EworksManager::client([
'username' => $username,
'api_key' => $apiKey,
]);
$customers = $client->customers();
Publish the optional configuration with:
php artisan vendor:publish --tag=eworks-manager-config
Credentials should be provided by the consuming application’s secret manager or environment rather than committed to configuration.