bizhub / unleashed
Unleashed api wrapper for Laravel
2.0.5
2022-07-18 21:08 UTC
Requires
- php: ^8.0.0
- guzzlehttp/guzzle: ^7.4.5
- nesbot/carbon: ^2.0
Requires (Dev)
- nunomaduro/collision: ^5.3
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.5
README
https://apidocs.unleashedsoftware.com
Install
composer require bizhub/unleashed
Set .env api authentication
UNLEASHED_API_ID=
UNLEASHED_API_KEY=
Usage
\Bizhub\Unleashed\Products::get(); \Bizhub\Unleashed\Products::find($quid); \Bizhub\Unleashed\ProductGroups::get(); \Bizhub\Unleashed\BillOfMaterials::get(); \Bizhub\Unleashed\BillOfMaterials::find($quid); \Bizhub\Unleashed\SalesOrders::get(); \Bizhub\Unleashed\SalesOrders::find($quid); \Bizhub\Unleashed\StockAdjustments::get(); \Bizhub\Unleashed\StockAdjustments::find($quid); \Bizhub\Unleashed\StockAdjustments::create($quid, [...]); \Bizhub\Unleashed\StockOnHand::get(); \Bizhub\Unleashed\StockOnHand::find($quid); \Bizhub\Unleashed\Warehouses::get();
Running Tests
To run tests, run the following command
./vendor/bin/phpunit