rankfoundry/laravel-dashboard-fulfill-tile

Laravel Dashboard Tile for SellBrite Fulfillment

v1.0.1 2021-01-04 04:08 UTC

This package is auto-updated.

Last update: 2024-11-04 12:39:50 UTC


README

Latest Version on Packagist Total Downloads

This tile can be used on the Laravel Dashboard to display orders ready for fulfillment in SellBrite.

Installation

You can install the tile via composer:

composer require rankfoundry/laravel-dashboard-fulfill-tile.

Sign up to SellBrite to manage your e-commerce sales from multiple marketplaces. Once your account is created you will need to obtain an API Token and API Key. You will also need your local warehouse UUID.

// in config/dashboard.php

return [
    // ...
    'tiles' => [
        'fulfill' => [
            'api_token' => '#######################',
            'api_key' => '#######################',
            'warehouse' => '#######################',
        ],
    ],
];

In app\Console\Kernel.php you should schedule the RankFoundry\FulfillTile\FetchFulfillmentsCommand to run every five minutes.

// in app/console/Kernel.php

protected function schedule(Schedule $schedule)
{
    // ...
    $schedule->command(\RankFoundry\FulfillTile\Commands\FetchFulfillmentsCommand::class)->everyFiveMinutes();
}

You are also able to execute the command manually.

php artisan dashboard:fetch-fulfillments

Usage

In your dashboard view you use the livewire:fulfill-tile component.

<x-dashboard>
    <livewire:fulfill-tile position="a1" />
</x-dashboard>

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email hello@rankfoundry.com instead of using the issue tracker.

Credits

License

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