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

Active

jeffersongoncalves/laravel-erp-projects
=======================================

10PHP

Pushed todayCompare

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

READMEChangelogDependenciesVersionsUsed By (0)

Laravel ERP Projects
====================

[](#laravel-erp-projects)

ERP projects — projects, tasks and timesheets for the Laravel ERP ecosystem.

This package is the projects / timesheet module of an ERPNext-native rebuild. It owns projects, their task tree and the timesheets that capture effort, and bills billable timesheet hours into the accounting module as a sales invoice. It depends on [`jeffersongoncalves/laravel-erp-core`](https://github.com/jeffersongoncalves/laravel-erp-core) and [`jeffersongoncalves/laravel-erp-accounting`](https://github.com/jeffersongoncalves/laravel-erp-accounting).

Features
--------

[](#features)

- **Activity types** — A master of billable activities with default costing and billing rates.
- **Projects** — A status-driven document (`Open → Completed → Cancelled`) holding the customer party, schedule, percent complete and billable/billed totals.
- **Tasks** — A status-driven, self-referencing task tree with priority, schedule, progress and expected/actual time. Statuses: `Open`, `Working`, `Pending Review`, `Overdue`, `Completed`, `Cancelled`.
- **Timesheets** — A submittable document with billable/costing detail rows. While draft it recomputes its total hours, billable hours and billing/costing amounts from its lines.
- **Billing service** — `TimesheetService` turns a submitted timesheet into an accounting **sales invoice**, wiring the projects module into the general-ledger engine.
- **Effort documents** — Timesheets capture effort: submitting one posts nothing to the ledger. Revenue is recognised only when the timesheet is billed into a sales invoice.
- **Customizable Models** — Override any model via config (ModelResolver pattern); `Project` and `Task` 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-projects
```

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-projects-migrations"
php artisan migrate
```

Publish the config (optional):

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

Billing
-------

[](#billing)

`TimesheetService` is registered as a singleton.

```
use JeffersonGoncalves\Erp\Projects\Services\TimesheetService;

// Timesheet -> Sales Invoice (draft; caller supplies the Receivable + income accounts)
$invoice = app(TimesheetService::class)->createSalesInvoice($timesheet, $receivable->id, $income->id);
$invoice->submit();
```

- **createSalesInvoice** copies the party from the timesheet's parent project onto an accounting `SalesInvoice`, then adds one invoice line per billable detail (`item_code` `SERVICE`, qty = hours, rate = billing rate, income account). The receivable (`debit_to`) is supplied by the caller because it is a non-nullable foreign key. The invoice is saved as a draft; submitting it posts the balanced receivable/income general-ledger entries. The timesheet is flagged billed (`sales_invoice_id`, `per_billed = 100`).

Database Tables
---------------

[](#database-tables)

All tables use the configured prefix shared across the ERP ecosystem (default: `erp_`): `activity_types`, `projects`, `tasks`, `timesheets`, `timesheet_details`.

Testing
-------

[](#testing)

```
composer test
```

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-projects/health.svg)

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

PHPackages © 2026

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