chrisjohnleah / eworks-manager-api-laravel
Laravel bridge for the eWorks Manager API SDK.
Package info
github.com/chrisjohnleah/eworks-manager-api-laravel
pkg:composer/chrisjohnleah/eworks-manager-api-laravel
Requires
- php: ^8.3
- chrisjohnleah/eworks-manager-api: ^1.0
- illuminate/cache: ^11|^12|^13
- illuminate/config: ^11|^12|^13
- illuminate/support: ^11|^12|^13
Requires (Dev)
- pestphp/pest: ^5.0
README
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.