Download the PHP package mvdnbrk/warehouse-framework without Composer

On this page you can find all versions of the php package mvdnbrk/warehouse-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package warehouse-framework

Laravel Warehouse Framework

PHP version Latest Version on Packagist Tests Code style Total Downloads

Installation

You can install the package via composer:

Run the install command:

This package uses it's own database.
By default we assume that you will prepare a connection called "warehouse" in your config/database.php file.
If you would like to use a different connection you can do so by setting WAREHOUSE_DB_CONNECTION in your .env file.

Now you can run the migrations for this package with:

Usage

Locations

You can retrieve all locations using the Just\Warehouse\Models\Location model:

Create a location with this artisan command:

Inventory

Add inventory to a location with a GTIN value, you may pass an amount as the second parameter:

Move inventory to another location:

You may also move inventory with it's GTIN from one location to another:

Moving many items at once from one location to another:

note: If you are trying to move many items at once and a failure occurs, an exception will be thrown and none of the items will be moved from one location to another.

Remove inventory from a location:

Remove all inventory from a location:

Orders

Create a new order:

Add order lines with the addLine method by passing a GTIN value, you may pass an amount as the second parameter:

note: You can only add order lines when the status of an order is either created or hold.
The same is true if you try to delete an order line.

Process the order:

This will update the order status to open and will be ready to be picked.

Put an order on hold

You can put an order on hold by calling the hold method. Unhold it with the unhold method:

Order status

You can determine the status of an order with the following methods on the status property:

Pick Lists

Once you have created an order you may retrieve a pick list.
To determine if a pick list is available and retrieve it:

The pickList method returns a collection:

When the order is picked you can mark it as fulfilled with the markAsFulfilled method:

`

Replacing an order line

If for some reason a product is missing or for example the items is damaged you may replace an order line with the replace method:

This will delete the reserved product from the inventory and replaces it with another item (if available).

Stock

To query stock quantities you may use the \Just\Warehouse\Facades\Stock facade:

For a specific GTIN:

Events

This packages fires several events:

Testing

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of warehouse-framework with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
illuminate/console Version ^7.2 || ^8.24
illuminate/contracts Version ^7.2 || ^8.24
illuminate/database Version ^7.2 || ^8.24
illuminate/queue Version ^7.2 || ^8.24
illuminate/support Version ^7.2 || ^8.24
mvdnbrk/gtin Version ^2.7
mvdnbrk/laravel-model-expires Version ^1.8
spatie/laravel-model-states Version ^1.9
staudenmeir/eloquent-has-many-deep Version ^1.12
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mvdnbrk/warehouse-framework contains the following files

Loading the files please wait ....