PHPackages                             aseven-team/laravel-accounting - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. aseven-team/laravel-accounting

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

aseven-team/laravel-accounting
==============================

Accounting package for Laravel

v1.6.1(1y ago)1191↓50%1[1 PRs](https://github.com/aseven-team/laravel-accounting/pulls)MITPHPPHP ^8.2CI passing

Since Dec 15Pushed 3mo agoCompare

[ Source](https://github.com/aseven-team/laravel-accounting)[ Packagist](https://packagist.org/packages/aseven-team/laravel-accounting)[ Docs](https://github.com/aseven-team/laravel-accounting)[ GitHub Sponsors](https://github.com/AsevenTeam)[ RSS](/packages/aseven-team-laravel-accounting/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (15)Versions (18)Used By (0)

Laravel Accounting
==================

[](#laravel-accounting)

[![Latest Version on Packagist](https://camo.githubusercontent.com/aa5a08383c4d77a1472d5a8a60ae3c3d04369f89b8664e6e8589e285c522f82a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61736576656e2d7465616d2f6c61726176656c2d6163636f756e74696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/aseven-team/laravel-accounting)[![GitHub Tests Action Status](https://camo.githubusercontent.com/329bc8041a6f0a31cbb4ba461bbdc1e4e2c24c70f08d406562e54a9142b546c8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f61736576656e2d7465616d2f6c61726176656c2d6163636f756e74696e672f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/aseven-team/laravel-accounting/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/91f8c46c7c4b1fafbf28f3467253c1f90e2b39766cad4d5561067873361ec54c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f61736576656e2d7465616d2f6c61726176656c2d6163636f756e74696e672f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/aseven-team/laravel-accounting/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/9791f9a720cfd739bc1825289012cda324859d2114397f2bb13c3fcd6553fa24/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61736576656e2d7465616d2f6c61726176656c2d6163636f756e74696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/aseven-team/laravel-accounting)

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

[](#installation)

You can install the package via composer:

```
composer require aseven-team/laravel-accounting
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="laravel-accounting-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-accounting-config"
```

This is the contents of the published config file:

```
return [
];
```

Usage
-----

[](#usage)

### Create an account

[](#create-an-account)

```
use Aseven\Accounting\Models\Account;
use Aseven\Accounting\Enums\AccountType;
use AsevenTeam\LaravelAccounting\Enums\NormalBalance;

Account::create([
    'code' => '1-1001',
    'name' => 'Cash',
    'type' => AccountType::Asset,
    'normal_balance' => NormalBalance::Debit,
    'parent_id' => null, // optional
    'is_active' => true, // optional
    'description' => 'Cash in hand', // optional
]);
```

### Create a transaction

[](#create-a-transaction)

```
transaction()
    ->setDate(now())
    ->withDescription('Buy raw material')
    ->addLine(account: '1-1001', debit: 0, credit: 1000)
    ->addLine(account: '5-1001', debit: 1000, credit: 0)
    ->save()
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Muhajir](https://github.com/muhajirrr)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance65

Regular maintenance activity

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.9% 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 ~25 days

Recently: every ~91 days

Total

17

Last Release

105d ago

Major Versions

v0.3.0-alpha → v1.0.02024-12-22

v1.6.1 → v2.x-dev2026-01-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/c0e7ae9b9a46331f7b8ce68cda4f47b62636537bc26dcde2c99a9b2835fb27bb?d=identicon)[muhajirrr](/maintainers/muhajirrr)

---

Top Contributors

[![muhajirrr](https://avatars.githubusercontent.com/u/33657615?v=4)](https://github.com/muhajirrr "muhajirrr (62 commits)")[![jonathan-lewerissa](https://avatars.githubusercontent.com/u/33656843?v=4)](https://github.com/jonathan-lewerissa "jonathan-lewerissa (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

laravellaravel-accountingAsevenTeam

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/aseven-team-laravel-accounting/health.svg)

```
[![Health](https://phpackages.com/badges/aseven-team-laravel-accounting/health.svg)](https://phpackages.com/packages/aseven-team-laravel-accounting)
```

###  Alternatives

[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[pboivin/filament-peek

Full-screen page preview modal for Filament

253319.6k12](/packages/pboivin-filament-peek)[dotswan/filament-map-picker

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

124139.3k2](/packages/dotswan-filament-map-picker)[creagia/filament-code-field

A Filamentphp input field to edit or view code data.

58289.3k3](/packages/creagia-filament-code-field)[swisnl/filament-backgrounds

Beautiful backgrounds for Filament auth pages

54149.2k6](/packages/swisnl-filament-backgrounds)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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