├── .gitignore ├── .scrutinizer.yml ├── .travis.yml ├── README.md ├── composer.json ├── docs ├── ASSEMBLIES.md ├── EVENTS.md ├── INSTALLATION.md ├── KITS.md ├── SEPARATING-INVENTORY.md ├── TRANSACTIONS.md ├── UPDATES.md ├── USAGE.md └── VARIANTS.md ├── phpunit.xml ├── src ├── Config │ ├── .gitkeep │ └── config.php ├── Exceptions │ ├── Commands │ │ ├── DatabaseTableReservedException.php │ │ └── DependencyNotFoundException.php │ ├── InvalidMovementException.php │ ├── InvalidPartException.php │ ├── InvalidQuantityException.php │ ├── InvalidTransactionStateException.php │ ├── NoUserLoggedInException.php │ ├── NotEnoughStockException.php │ ├── SkuAlreadyExistsException.php │ ├── StockAlreadyExistsException.php │ └── StockNotFoundException.php ├── Helper.php ├── Interfaces │ └── StateableInterface.php ├── InventoryServiceProvider.php ├── Lang │ └── en │ │ ├── exceptions.php │ │ └── reasons.php ├── Migrations │ ├── .gitkeep │ ├── 2014_07_31_123201_create_inventory_metrics_table.php │ ├── 2014_07_31_123204_create_inventory_categories_table.php │ ├── 2014_07_31_123204_create_locations_table.php │ ├── 2014_07_31_123213_create_inventory_tables.php │ ├── 2015_03_02_143457_create_inventory_sku_table.php │ ├── 2015_03_06_135351_create_inventory_supplier_tables.php │ ├── 2015_03_09_122729_create_inventory_transaction_tables.php │ ├── 2015_05_05_100032_create_inventory_variants_table.php │ ├── 2015_05_08_115310_modify_inventory_table_for_assemblies.php │ ├── 2015_05_08_115523_create_inventory_assemblies_table.php │ └── 2017_02_08_115523_add_serial_number.php ├── Models │ ├── BaseModel.php │ ├── Inventory.php │ ├── InventoryCategory.php │ ├── InventoryMetric.php │ ├── InventorySku.php │ ├── InventoryStock.php │ ├── InventoryStockMovement.php │ ├── InventorySupplier.php │ ├── InventoryTransaction.php │ ├── InventoryTransactionHistory.php │ └── Location.php └── Traits │ ├── AssemblyTrait.php │ ├── CategoryTrait.php │ ├── CommonMethodsTrait.php │ ├── InventorySkuTrait.php │ ├── InventoryStockMovementTrait.php │ ├── InventoryStockTrait.php │ ├── InventoryTrait.php │ ├── InventoryTransactionHistoryTrait.php │ ├── InventoryTransactionTrait.php │ ├── InventoryVariantTrait.php │ └── SupplierTrait.php └── tests └── FunctionalTestCase.php /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/.gitignore -------------------------------------------------------------------------------- /.scrutinizer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/.scrutinizer.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/composer.json -------------------------------------------------------------------------------- /docs/ASSEMBLIES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/docs/ASSEMBLIES.md -------------------------------------------------------------------------------- /docs/EVENTS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/docs/EVENTS.md -------------------------------------------------------------------------------- /docs/INSTALLATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/docs/INSTALLATION.md -------------------------------------------------------------------------------- /docs/KITS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/docs/KITS.md -------------------------------------------------------------------------------- /docs/SEPARATING-INVENTORY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/docs/SEPARATING-INVENTORY.md -------------------------------------------------------------------------------- /docs/TRANSACTIONS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/docs/TRANSACTIONS.md -------------------------------------------------------------------------------- /docs/UPDATES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/docs/UPDATES.md -------------------------------------------------------------------------------- /docs/USAGE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/docs/USAGE.md -------------------------------------------------------------------------------- /docs/VARIANTS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/docs/VARIANTS.md -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/Config/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Config/config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Config/config.php -------------------------------------------------------------------------------- /src/Exceptions/Commands/DatabaseTableReservedException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Exceptions/Commands/DatabaseTableReservedException.php -------------------------------------------------------------------------------- /src/Exceptions/Commands/DependencyNotFoundException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Exceptions/Commands/DependencyNotFoundException.php -------------------------------------------------------------------------------- /src/Exceptions/InvalidMovementException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Exceptions/InvalidMovementException.php -------------------------------------------------------------------------------- /src/Exceptions/InvalidPartException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Exceptions/InvalidPartException.php -------------------------------------------------------------------------------- /src/Exceptions/InvalidQuantityException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Exceptions/InvalidQuantityException.php -------------------------------------------------------------------------------- /src/Exceptions/InvalidTransactionStateException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Exceptions/InvalidTransactionStateException.php -------------------------------------------------------------------------------- /src/Exceptions/NoUserLoggedInException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Exceptions/NoUserLoggedInException.php -------------------------------------------------------------------------------- /src/Exceptions/NotEnoughStockException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Exceptions/NotEnoughStockException.php -------------------------------------------------------------------------------- /src/Exceptions/SkuAlreadyExistsException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Exceptions/SkuAlreadyExistsException.php -------------------------------------------------------------------------------- /src/Exceptions/StockAlreadyExistsException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Exceptions/StockAlreadyExistsException.php -------------------------------------------------------------------------------- /src/Exceptions/StockNotFoundException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Exceptions/StockNotFoundException.php -------------------------------------------------------------------------------- /src/Helper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Helper.php -------------------------------------------------------------------------------- /src/Interfaces/StateableInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Interfaces/StateableInterface.php -------------------------------------------------------------------------------- /src/InventoryServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/InventoryServiceProvider.php -------------------------------------------------------------------------------- /src/Lang/en/exceptions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Lang/en/exceptions.php -------------------------------------------------------------------------------- /src/Lang/en/reasons.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Lang/en/reasons.php -------------------------------------------------------------------------------- /src/Migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Migrations/2014_07_31_123201_create_inventory_metrics_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Migrations/2014_07_31_123201_create_inventory_metrics_table.php -------------------------------------------------------------------------------- /src/Migrations/2014_07_31_123204_create_inventory_categories_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Migrations/2014_07_31_123204_create_inventory_categories_table.php -------------------------------------------------------------------------------- /src/Migrations/2014_07_31_123204_create_locations_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Migrations/2014_07_31_123204_create_locations_table.php -------------------------------------------------------------------------------- /src/Migrations/2014_07_31_123213_create_inventory_tables.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Migrations/2014_07_31_123213_create_inventory_tables.php -------------------------------------------------------------------------------- /src/Migrations/2015_03_02_143457_create_inventory_sku_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Migrations/2015_03_02_143457_create_inventory_sku_table.php -------------------------------------------------------------------------------- /src/Migrations/2015_03_06_135351_create_inventory_supplier_tables.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Migrations/2015_03_06_135351_create_inventory_supplier_tables.php -------------------------------------------------------------------------------- /src/Migrations/2015_03_09_122729_create_inventory_transaction_tables.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Migrations/2015_03_09_122729_create_inventory_transaction_tables.php -------------------------------------------------------------------------------- /src/Migrations/2015_05_05_100032_create_inventory_variants_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Migrations/2015_05_05_100032_create_inventory_variants_table.php -------------------------------------------------------------------------------- /src/Migrations/2015_05_08_115310_modify_inventory_table_for_assemblies.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Migrations/2015_05_08_115310_modify_inventory_table_for_assemblies.php -------------------------------------------------------------------------------- /src/Migrations/2015_05_08_115523_create_inventory_assemblies_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Migrations/2015_05_08_115523_create_inventory_assemblies_table.php -------------------------------------------------------------------------------- /src/Migrations/2017_02_08_115523_add_serial_number.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Migrations/2017_02_08_115523_add_serial_number.php -------------------------------------------------------------------------------- /src/Models/BaseModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Models/BaseModel.php -------------------------------------------------------------------------------- /src/Models/Inventory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Models/Inventory.php -------------------------------------------------------------------------------- /src/Models/InventoryCategory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Models/InventoryCategory.php -------------------------------------------------------------------------------- /src/Models/InventoryMetric.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Models/InventoryMetric.php -------------------------------------------------------------------------------- /src/Models/InventorySku.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Models/InventorySku.php -------------------------------------------------------------------------------- /src/Models/InventoryStock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Models/InventoryStock.php -------------------------------------------------------------------------------- /src/Models/InventoryStockMovement.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Models/InventoryStockMovement.php -------------------------------------------------------------------------------- /src/Models/InventorySupplier.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Models/InventorySupplier.php -------------------------------------------------------------------------------- /src/Models/InventoryTransaction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Models/InventoryTransaction.php -------------------------------------------------------------------------------- /src/Models/InventoryTransactionHistory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Models/InventoryTransactionHistory.php -------------------------------------------------------------------------------- /src/Models/Location.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Models/Location.php -------------------------------------------------------------------------------- /src/Traits/AssemblyTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Traits/AssemblyTrait.php -------------------------------------------------------------------------------- /src/Traits/CategoryTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Traits/CategoryTrait.php -------------------------------------------------------------------------------- /src/Traits/CommonMethodsTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Traits/CommonMethodsTrait.php -------------------------------------------------------------------------------- /src/Traits/InventorySkuTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Traits/InventorySkuTrait.php -------------------------------------------------------------------------------- /src/Traits/InventoryStockMovementTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Traits/InventoryStockMovementTrait.php -------------------------------------------------------------------------------- /src/Traits/InventoryStockTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Traits/InventoryStockTrait.php -------------------------------------------------------------------------------- /src/Traits/InventoryTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Traits/InventoryTrait.php -------------------------------------------------------------------------------- /src/Traits/InventoryTransactionHistoryTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Traits/InventoryTransactionHistoryTrait.php -------------------------------------------------------------------------------- /src/Traits/InventoryTransactionTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Traits/InventoryTransactionTrait.php -------------------------------------------------------------------------------- /src/Traits/InventoryVariantTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Traits/InventoryVariantTrait.php -------------------------------------------------------------------------------- /src/Traits/SupplierTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/src/Traits/SupplierTrait.php -------------------------------------------------------------------------------- /tests/FunctionalTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Trexology/inventory/HEAD/tests/FunctionalTestCase.php --------------------------------------------------------------------------------