Download the PHP package vivek-mistry/laravel-inventory-core without Composer
On this page you can find all versions of the php package vivek-mistry/laravel-inventory-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vivek-mistry/laravel-inventory-core
More information about vivek-mistry/laravel-inventory-core
Files in vivek-mistry/laravel-inventory-core
Package laravel-inventory-core
Short Description Core stock & inventory engine for Laravel applications
License MIT
Homepage https://github.com/vivek-mistry/laravel-inventory-core
Informations about the package laravel-inventory-core
๐ฆ Laravel Inventory Core
A Headless Stock & Inventory Engine for Laravel
A lightweight, extensible inventory management core for Laravel applications. Built for e-commerce, POS, ERP, invoicing, and warehouse systems. \ โญ No UI \ ๐ง Logic-first \ โก Production-ready
๐ Why Laravel Inventory Core? \ Most inventory packages are: \ โ UI-heavy \ โ Hard to customize \ โ Tied to specific schemas \
Laravel Inventory Core is different. \ โ Works with any Eloquent model \ โ Multi-warehouse ready \ โ Prevents overselling \ โ Event-driven & audit-safe \ โ Clean API developers love
โจ Features
โ Core Inventory
- Stock in / stock out
- Stock adjustments
- Available vs reserved stock
- Negative stock protection
๐ Reservation System
- Cart & order reservations
- Overselling prevention
- Safe release mechanism
๐ฌ Warehouses
- Multiple warehouses / godowns
- Default warehouse support
- Warehouse-aware stock
๐ Audit & Reliability
- Complete stock movement history
- Traceable inventory changes
- Accounting-friendly design
๐จ Low Stock Alerts
- Threshold-based alerts
- Event-driven notifications
๐ Ideal For
โ Laravel e-commerce platforms \ โ POS systems \ โ ERP & internal tools \ โ Invoice & billing systems \ โ SaaS products needing inventory
๐ ๏ธ Installation
Install the package via Composer:
Publish config (optional):
Run migrations:
โ๏ธ Configuration
config/inventory.php
๐งฑ Database Tables
| Table | Purpose |
|---|---|
inventory_stocks |
Current stock per model |
inventory_movements |
Complete stock audit trail |
inventory_warehouses |
Multi-warehouse support |
๐งฉ Making a Model Stockable
Use the Stockable trait on any Eloquent model.
Thatโs it ๐
๐งฎ Basic Usage
Add Stock
With warehouse
โ Reduce Stock
๐ Reserve Stock (Cart / Order)
Prevents overselling.
With warehouse:
๐ Release Reserved Stock
๐ Stock Helpers
๐ฌ Warehouses
Warehouses are optional but recommended.
If no warehouse is provided, the default warehouse is used.
๐จ Low Stock Detection Triggered automatically when stock falls below threshold.
Listen to the event:
๐งช Testing
Change Logs
- Initial 2 Phases are released.
Credits
- Vivek Mistry - Project creator and maintainer
๐ค Contributing
Pull requests are welcome. \ Ideas, issues, and improvements are encouraged.
โญ Support the Project \ If this package helps you: \ ๐ Star the repository \ ๐ง Share with the Laravel community \ ๐ Report issues & suggestions
License
MIT License. See LICENSE for details.
All versions of laravel-inventory-core with dependencies
illuminate/support Version ^10|^11|^12
orchestra/testbench Version ^10.0.0||^9.0.0
phpunit/phpunit Version *