dougblackjr/laravel-aplos
Composer 安装命令:
composer require dougblackjr/laravel-aplos
包简介
Laravel client for the Aplos Open API
README 文档
README
A lightweight Laravel wrapper for the Aplos Open API.
Install
Add this repo to your composer.json (VCS or path), then:
composer require dougblackjr/laravel-aplos
php artisan vendor:publish --provider="Tns\Aplos\AplosServiceProvider" --tag=config
Configure
APLOS_CLIENT_ID=your-client-id
APLOS_PRIVATE_KEY_PATH=/full/path/to/private_key.pem # or set APLOS_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\n..."
APLOS_ACCOUNT_ID=optional-org-id
Quick Start
use Aplos;
// Contacts
$contacts = Aplos::contacts()->list([
'f_name' => 'Smith',
'f_type' => 'individual',
]);
$contact = Aplos::contacts()->getById(12345);
// Contributions (date filters: yyyy-MM-dd)
$contribs = Aplos::contributions()->list([
'f_rangestart' => '2025-01-01',
'f_rangeend' => '2025-12-31',
]);
// Funds / Accounts
$funds = Aplos::funds()->list();
$accounts = Aplos::accounts()->list();
// Accounting Transactions
$tx = Aplos::transactions()->list([
'f_accountnumber' => '5000',
'f_amount' => '>=100',
]);
// Payables / Receivables
$ap = Aplos::payables()->list();
$ar = Aplos::receivables()->list();
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-04-02