Looking to hire Laravel developers? Try LaraJobs

laravel-aplos maintained by dougblackjr

Description
Laravel client for the Aplos Open API
Last update
2026/04/02 11:34 (dev-main)
License
Links
Downloads
269

Comments
comments powered by Disqus

Aplos Laravel Client

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();