PHPackages                             abivia/ledger - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. abivia/ledger

ActiveLibrary[Database &amp; ORM](/categories/database)

abivia/ledger
=============

General Ledger and Journal Accounting Package for Laravel with JSON API

1.11.2(2y ago)12934.9k↓21.9%29MITPHPPHP ^8.0|^8.1

Since Dec 17Pushed 2y ago9 watchersCompare

[ Source](https://github.com/abivia/ledger)[ Packagist](https://packagist.org/packages/abivia/ledger)[ RSS](/packages/abivia-ledger/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (32)Used By (0)

General Ledger and Journal Accounting Package for Laravel with JSON API
=======================================================================

[](#general-ledger-and-journal-accounting-package-for-laravel-with-json-api)

Tests: [![php 8.0](https://github.com/abivia/ledger/actions/workflows/php80.yml/badge.svg)](https://github.com/abivia/ledger/actions/workflows/php80.yml/badge.svg) [![php 8.1](https://github.com/abivia/ledger/actions/workflows/php81.yml/badge.svg)](https://github.com/abivia/ledger/actions/workflows/php81.yml/badge.svg)

Ledger lets you track anything related to money in your application with a single package while making your CFO happy at the same time. No matter if your app is handling memberships for a small club or supporting a multinational enterprise, Ledger can handle it.

Ledger is a full-featured implementation of the core of any good accounting system, a double-entry journal and general ledger. It is not a complete accounting solution, but rather the minimum for keeping track of financial transactions. Ledger features a JSON API that provides access to all functions.

That's the only minimal part. Ledger features:

- Full double-entry accounting system with audit trail capability.
- Multi-currency support.
- Support for multiple business units.
- Sub-journal support.
- Multilingual.
- Integrates via direct controller access or through JSON API.
- Atomic transactions with concurrent update blocking.
- Reference system supports soft linking to other ERP components.
- Designed for Laravel from the ground up.

Documentation
-------------

[](#documentation)

Full documentation is available [here](https://ledger.abivia.com/).

Updates and Chat
----------------

[](#updates-and-chat)

We've moved from Twitter to [Mastodon](https://fosstodon.org/@abivia). Come join us!

Quick start
-----------

[](#quick-start)

### Installation and Configuration

[](#installation-and-configuration)

Install Ledger with composer:

`composer require abivia/ledger`

Publish configuration:

`php artisan vendor:publish --provider="Abivia\Ledger\LedgerServiceProvider"`

Create database tables

`php artisan migrate`

### Configuration

[](#configuration)

The configuration file is installed as `config\ledger.php`. You can enable/disable the JSON API, set middleware, and a path prefix to the API.

### Updating

[](#updating)

To ensure schema changes are in place publish the configuration again and migrate:

```
php artisan vendor:publish --provider="Abivia\Ledger\LedgerServiceProvider"
php artisan migrate

```

Donations welcome
-----------------

[](#donations-welcome)

Abivia is a small business. Even small donations go a long way.

If you're getting something out of Ledger, you can sponsor us in any amount you wish using Liberapay [![Liberapay](https://camo.githubusercontent.com/f42d4c8650291eed95d5feb7658604d653ad107d3308fb7e8f269623d7ed65cf/68747470733a2f2f6c69626572617061792e636f6d2f6173736574732f776964676574732f646f6e6174652e737667)](https://liberapay.com/abivia/donate). Liberapay is itself run on donations and charges no fees beyond bank charges.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity46

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 93.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~28 days

Recently: every ~127 days

Total

31

Last Release

761d ago

PHP version history (3 changes)1.0.0PHP ^7.4|^8.0

1.6.0PHP ^8.0|^8.1

1.6.1PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/42cd72dce530e94e60853407cdab69ead232423272b482218ae686c740ce0e99?d=identicon)[abivia](/maintainers/abivia)

---

Top Contributors

[![instancezero](https://avatars.githubusercontent.com/u/2599327?v=4)](https://github.com/instancezero "instancezero (189 commits)")[![abivia](https://avatars.githubusercontent.com/u/94868022?v=4)](https://github.com/abivia "abivia (5 commits)")[![shaband](https://avatars.githubusercontent.com/u/28789948?v=4)](https://github.com/shaband "shaband (3 commits)")[![Alexgoogole](https://avatars.githubusercontent.com/u/19230051?v=4)](https://github.com/Alexgoogole "Alexgoogole (2 commits)")[![ivanmazep](https://avatars.githubusercontent.com/u/104190182?v=4)](https://github.com/ivanmazep "ivanmazep (2 commits)")[![lewrq](https://avatars.githubusercontent.com/u/16439443?v=4)](https://github.com/lewrq "lewrq (2 commits)")

---

Tags

accountingaccounting-softwarefinancegeneral-ledgergeneralledgerlaravelmulti-currencymulticurrencyphplaravelAccountingjournalledgerabivia

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/abivia-ledger/health.svg)

```
[![Health](https://phpackages.com/badges/abivia-ledger/health.svg)](https://phpackages.com/packages/abivia-ledger)
```

###  Alternatives

[altek/accountant

The auditing &amp; accountability package for Laravel's Eloquent ORM.

92954.3k4](/packages/altek-accountant)[ekmungai/eloquent-ifrs

Eloquent Double Entry Accounting with focus on IFRS Compliant Reporting

35757.9k](/packages/ekmungai-eloquent-ifrs)[scottlaurent/accounting

Laravel Accounting Journals for Eloquent Models

20251.8k](/packages/scottlaurent-accounting)[langleyfoxall/xero-laravel

💸 Access the Xero accounting system using an Eloquent-like syntax

86235.1k](/packages/langleyfoxall-xero-laravel)[rtconner/laravel-likeable

Trait for Laravel Eloquent models to allow easy implementation of a 'like' or 'favorite' or 'remember' feature.

394388.0k5](/packages/rtconner-laravel-likeable)[cubettech/lacassa

Cassandra based query builder for laravel.

358.5k](/packages/cubettech-lacassa)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
