PHPackages                             uccello/inventory - 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. [Admin Panels](/categories/admin)
4. /
5. uccello/inventory

ActiveLibrary[Admin Panels](/categories/admin)

uccello/inventory
=================

This package allows to create inventory modules in a Uccello project.

v1.0.2(5y ago)028MITBlade

Since Nov 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/uccellolabs/uccello-inventory)[ Packagist](https://packagist.org/packages/uccello/inventory)[ RSS](/packages/uccello-inventory/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Uccello Inventory
=================

[](#uccello-inventory)

Thanks to this package it becomes very easy to transform an existing module into an accounting module (e.g. quote, order, invoice).

Install package
---------------

[](#install-package)

You can easily install this package using the following command line:

```
$ composer require uccello/inventory

$ php artisan vendor:publish --tag inventory-assets
$ php artisan vendor:publish --tag inventory-config
```

You can modify `config/inventory.php` and adapt the config.

Transform a classic module into an Inventory module
---------------------------------------------------

[](#transform-a-classic-module-into-an-inventory-module)

### IsInventoryModule trait

[](#isinventorymodule-trait)

Add the following lines to the model related to the module you want to transform into an Inventory Module. Here an example with `Order` module

```
