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

Active

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

10PHP

Pushed todayCompare

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

READMEChangelogDependenciesVersionsUsed By (0)

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 an ERPNext-native rebuild. 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
```

Credits
-------

[](#credits)

- [Jefferson Gonçalves](https://github.com/jeffersongoncalves)

License
-------

[](#license)

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

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance65

Regular maintenance activity

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity8

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://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)")

### 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)
```

PHPackages © 2026

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