chrisidakwo/laravel-inventory

Inventory management for Laravel

v4.0.0 2024-06-25 05:10 UTC

README

Latest Stable Version Total Downloads License

This package has been taken over by @chrisidakwo.

Index

Description

Inventory is a fully tested, PSR compliant Laravel inventory solution. It provides the basics of inventory management using Eloquent such as:

  • Inventory Item management
  • Inventory Item Variant management
  • Inventory Stock management (per location)
  • Inventory Stock movement tracking
  • Inventory SKU generation
  • Inventory Assembly management (Bill of Materials)
  • Inventory Bundle management
  • Inventory Supplier management
  • Inventory Transaction management
  • Inventory Custom Attributes

All movements, stocks and inventory items are automatically given the current logged in user's ID. All inventory actions such as puts/removes/creations are covered by Laravel's built in database transactions. If any exception occurs during an inventory change, it will be rolled back automatically.

Depending on your needs, you may use the built in traits for customizing and creating your own models, or you can simply use the built in models.

Requirements

  • PHP 8.*
  • Laravel 9.* or Laravel 10.* (minimum version of PHP for Laravel 10 is ^8.1)
  • Laravel's Auth, Sentry or Sentinel if you need automatic accountability
  • A users database table

Benefits

If you're using the traits from this package to customize your install, that means you have complete flexibility over your own models, methods (excluding relationship names/type), database tables, property names, and attributes. You can set your own base model, and if you don't like the way a method is performed just override it.

Sit back and relax, it's nice to have control.