PHPackages                             ducna01120/ledger-api - 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. ducna01120/ledger-api

ActiveLibrary

ducna01120/ledger-api
=====================

Accounting &amp; Invoicing Extension for Fleetbase

03JavaScriptCI passing

Since Aug 12Pushed 9mo agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

 [![](https://private-user-images.githubusercontent.com/816371/351205780-197c404c-06b1-4fd4-8a26-624f1d481966.svg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUxNjQxNjksIm5iZiI6MTc3NTE2Mzg2OSwicGF0aCI6Ii84MTYzNzEvMzUxMjA1NzgwLTE5N2M0MDRjLTA2YjEtNGZkNC04YTI2LTYyNGYxZDQ4MTk2Ni5zdmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNDAyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDQwMlQyMTA0MjlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kZjE3OTUxNDA2NjcwMWI5NGUyZDAzOWJmNjI5OWEwNDEzOTQwNGE5NmRmOWVlNWQ5MGNjMDUyMmRiYjIxMGI2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.ws9gLCOar2GpQUjWgvGxZXT72wCcdduQcTAwnE3vVE4)](https://private-user-images.githubusercontent.com/816371/351205780-197c404c-06b1-4fd4-8a26-624f1d481966.svg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUxNjQxNjksIm5iZiI6MTc3NTE2Mzg2OSwicGF0aCI6Ii84MTYzNzEvMzUxMjA1NzgwLTE5N2M0MDRjLTA2YjEtNGZkNC04YTI2LTYyNGYxZDQ4MTk2Ni5zdmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNDAyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDQwMlQyMTA0MjlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kZjE3OTUxNDA2NjcwMWI5NGUyZDAzOWJmNjI5OWEwNDEzOTQwNGE5NmRmOWVlNWQ5MGNjMDUyMmRiYjIxMGI2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.ws9gLCOar2GpQUjWgvGxZXT72wCcdduQcTAwnE3vVE4)

 Accounting &amp; Invoicing Extension for Fleetbase

---

Overview
--------

[](#overview)

This monorepo contains both the frontend and backend components of the Ledger extension for Fleetbase. The frontend is built using Ember.js and the backend is implemented in PHP.

- PHP 7.3.0 or above
- Ember.js v4.8 or above
- Ember CLI v4.8 or above
- Node.js v18 or above

Structure
---------

[](#structure)

```
├── addon
├── app
├── assets
├── translations
├── config
├── node_modules
├── server
│ ├── config
│ ├── data
│ ├── migrations
│ ├── resources
│ ├── src
│ ├── tests
│ └── vendor
├── tests
├── testem.js
├── index.js
├── package.json
├── phpstan.neon.dist
├── phpunit.xml.dist
├── pnpm-lock.yaml
├── ember-cli-build.js
├── composer.json
├── CONTRIBUTING.md
├── LICENSE.md
├── README.md

```

Installation
------------

[](#installation)

### Backend

[](#backend)

Install the PHP packages using Composer:

```
composer require fleetbase/core-api
composer require fleetbase/fleetops-api
composer require fleetbase/ledger-api
```

### Frontend

[](#frontend)

Install the Ember.js Engine/Addon:

```
pnpm install @fleetbase/ledger-engine
```

Usage
-----

[](#usage)

### Backend

[](#backend-1)

🧹 Keep a modern codebase with **PHP CS Fixer**:

```
composer lint
```

⚗️ Run static analysis using **PHPStan**:

```
composer test:types
```

✅ Run unit tests using **PEST**

```
composer test:unit
```

🚀 Run the entire test suite:

```
composer test
```

### Frontend

[](#frontend-1)

🧹 Keep a modern codebase with **ESLint**:

```
pnpm lint
```

✅ Run unit tests using **Ember/QUnit**

```
pnpm test
pnpm test:ember
pnpm test:ember-compatibility
```

🚀 Start the Ember Addon/Engine

```
pnpm start
```

🔨 Build the Ember Addon/Engine

```
pnpm build
```

Contributing
------------

[](#contributing)

See the Contributing Guide for details on how to contribute to this project.

License
-------

[](#license)

This project is licensed under the MIT License.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance41

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9592d9718e72a409139305d345ae9e06cc243bc6ef00cafb71fc6fb98874144b?d=identicon)[NguyenAnhDuc](/maintainers/NguyenAnhDuc)

---

Top Contributors

[![roncodes](https://avatars.githubusercontent.com/u/816371?v=4)](https://github.com/roncodes "roncodes (5 commits)")

### Embed Badge

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

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

PHPackages © 2026

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