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

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

jeffersongoncalves/laravel-erp-buying
=====================================

ERP buying — suppliers, RFQs, supplier quotations and purchase orders for the Laravel ERP ecosystem

1.1.0(1mo ago)12613MITPHPPHP ^8.2

Since Jun 29Pushed 1mo agoCompare

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

READMEChangelogDependencies (9)Versions (4)Used By (3)

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

Laravel ERP Buying
==================

[](#laravel-erp-buying)

ERP buying — suppliers, RFQs, supplier quotations and purchase orders for the Laravel ERP ecosystem.

This package is the buying/procurement module of the Laravel ERP ecosystem. It builds on [`laravel-erp-core`](https://github.com/jeffersongoncalves/laravel-erp-core), [`laravel-erp-accounting`](https://github.com/jeffersongoncalves/laravel-erp-accounting) and [`laravel-erp-stock`](https://github.com/jeffersongoncalves/laravel-erp-stock).

Features
--------

[](#features)

- **Masters** — supplier groups (hierarchical) and suppliers, with polymorphic addresses and contacts from core.
- **Request for Quotation** — submittable RFQs with item lines and invited suppliers.
- **Supplier Quotation** — submittable quotations with item lines and live totals.
- **Purchase Order** — submittable orders with per-received / per-billed tracking and order status.
- **Conversions** — turn a Purchase Order into a stock Purchase Receipt or an accounting Purchase Invoice, and turn a Supplier Quotation into a Purchase Order.

Buying documents are commitments: they follow the submit/cancel lifecycle but do not post to the general or stock ledger themselves. Inventory and accounting impact is realised only when the downstream Purchase Receipt or Purchase Invoice is submitted.

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

[](#installation)

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

Publish and run the migrations:

```
php artisan vendor:publish --tag="erp-buying-migrations"
php artisan migrate
```

Optionally publish the config:

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

Conversions
-----------

[](#conversions)

```
use JeffersonGoncalves\Erp\Buying\Services\PurchaseOrderService;
use JeffersonGoncalves\Erp\Buying\Services\SupplierQuotationService;

$receipt = app(PurchaseOrderService::class)->createPurchaseReceipt($purchaseOrder);
$invoice = app(PurchaseOrderService::class)->createPurchaseInvoice($purchaseOrder);
$order = app(SupplierQuotationService::class)->createPurchaseOrder($supplierQuotation);
```

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

laravelERPsupplierprocurementpurchase orderbuying

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

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

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

PHPackages © 2026

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