PHP code example of ingoldsby / laravel-dashboard-shopify-tile

1. Go to this page and download the library: Download ingoldsby/laravel-dashboard-shopify-tile library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

ingoldsby / laravel-dashboard-shopify-tile example snippets


// in config/dashboard.php

return [
    // ...
    'tiles' => [
        'shopify' => [
            'store' => env('SHOPIFY_STORE'),
            'api_version' => env('SHOPIFY_API_VERSION'),
            'api_key' => env('SHOPIFY_API_KEY'),
            'password' => env('SHOPIFY_API_PASSWORD'),
        ]
    ],
];

// in app/console/Kernel.php

protected function schedule(Schedule $schedule)
{
    // ...
    $schedule->command(\Ingoldsby\ShopifyTile\Commands\FetchShopifyInfoCommand::class)->everyMinute();
}