PHPackages                             jeffersongoncalves/laravel-erp-assets - 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. jeffersongoncalves/laravel-erp-assets

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

jeffersongoncalves/laravel-erp-assets
=====================================

ERP assets — fixed asset register, depreciation and movements for the Laravel ERP ecosystem

1.1.0(1mo ago)12582MITPHPPHP ^8.2

Since Jun 29Pushed 1mo agoCompare

[ Source](https://github.com/jeffersongoncalves/laravel-erp-assets)[ Packagist](https://packagist.org/packages/jeffersongoncalves/laravel-erp-assets)[ Docs](https://github.com/jeffersongoncalves/laravel-erp)[ RSS](/packages/jeffersongoncalves-laravel-erp-assets/feed)WikiDiscussions main Synced 2w ago

READMEChangelogDependencies (8)Versions (4)Used By (2)

[![Laravel ERP Assets](https://raw.githubusercontent.com/jeffersongoncalves/laravel-erp-assets/main/art/jeffersongoncalves-laravel-erp-assets.png)](https://raw.githubusercontent.com/jeffersongoncalves/laravel-erp-assets/main/art/jeffersongoncalves-laravel-erp-assets.png)

Laravel ERP Assets
==================

[](#laravel-erp-assets)

ERP assets — fixed asset register, depreciation and movements for the Laravel ERP ecosystem.

This package is the fixed-assets module of the Laravel ERP ecosystem. It depends on [`jeffersongoncalves/laravel-erp-core`](https://github.com/jeffersongoncalves/laravel-erp-core) for the submittable-document foundation and on [`jeffersongoncalves/laravel-erp-accounting`](https://github.com/jeffersongoncalves/laravel-erp-accounting) for the general ledger that absorbs depreciation postings.

Features
--------

[](#features)

- **Asset Register** — Fixed assets built on the core `IsSubmittable` lifecycle (`Draft → Submitted → Cancelled`), grouped under asset categories that carry the depreciation defaults and ledger accounts
- **Depreciation Engine** — A single `DepreciationService` projects the full depreciation schedule on submit (Straight Line, Written Down Value, Double Declining Balance) and posts each due period to the general ledger
- **Native GL Integration** — Depreciation posts a balanced entry (debit depreciation expense, credit accumulated depreciation) through the accounting `GeneralLedgerService`, with the asset acting as the GL voucher
- **Movements &amp; Repairs** — Submittable asset movements (issue / receipt / transfer) and asset repair documents
- **Customizable Models** — Override any model via config (ModelResolver pattern); `Asset` and `AssetCategory` ship swappable contracts
- **Translations** — English and Brazilian Portuguese

Compatibility
-------------

[](#compatibility)

PackagePHPLaravel`^1.0``^8.2``^11.0 | ^12.0 | ^13.0`Installation
------------

[](#installation)

```
composer require jeffersongoncalves/laravel-erp-assets
```

Publish and run the migrations (the core and accounting package migrations must be published too):

```
php artisan vendor:publish --tag="erp-core-migrations"
php artisan vendor:publish --tag="erp-accounting-migrations"
php artisan vendor:publish --tag="erp-assets-migrations"
php artisan migrate
```

Publish the config (optional):

```
php artisan vendor:publish --tag="erp-assets-config"
```

Depreciation Flow
-----------------

[](#depreciation-flow)

1. **Submit an asset** — `Asset::submit()` builds the `asset_depreciation_schedules` rows from the chosen method, period count and frequency. No money moves at this point (`postLedgerEntries()` is wired to schedule generation, not a purchase entry).
2. **Post depreciation** — `app(DepreciationService::class)->postDepreciation($asset, $upto)` posts every period due on or before `$upto` to the general ledger and advances the asset to `Partially Depreciated` / `Fully Depreciated`.
3. **Cancel** — Cancelling the asset reverses every posted period (mirror GL rows, net zero) and clears the schedule's posted flags.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [Jefferson Simão Gonçalves](https://github.com/jeffersongoncalves)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance91

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~1 days

Total

3

Last Release

42d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/411493?v=4)[Jefferson Gonçalves](/maintainers/jeffersongoncalves)[@jeffersongoncalves](https://github.com/jeffersongoncalves)

---

Top Contributors

[![jeffersongoncalves](https://avatars.githubusercontent.com/u/411493?v=4)](https://github.com/jeffersongoncalves "jeffersongoncalves (1 commits)")

---

Tags

laravelassetsERPdepreciationfixed-assetsubmittable

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/jeffersongoncalves-laravel-erp-assets/health.svg)

```
[![Health](https://phpackages.com/badges/jeffersongoncalves-laravel-erp-assets/health.svg)](https://phpackages.com/packages/jeffersongoncalves-laravel-erp-assets)
```

###  Alternatives

[jasonlewis/resource-watcher

Simple PHP resource watcher library.

221146.6k14](/packages/jasonlewis-resource-watcher)[frenzy/turbolinks

Frenzy Turbolinks makes following links in your web application faster with Laravel

16123.4k](/packages/frenzy-turbolinks)[tarunkorat/laravel-asset-cleaner

Safely detect and remove unused CSS, JS, SCSS and other assets from Laravel applications

747.3k1](/packages/tarunkorat-laravel-asset-cleaner)[efficiently/jquery-laravel

This package provides jQuery and the jQuery-ujs driver for your Laravel &gt;= 6 application.

1411.3k1](/packages/efficiently-jquery-laravel)

PHPackages © 2026

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