PHP code example of think.studio / laravel-myriad-data-store

1. Go to this page and download the library: Download think.studio/laravel-myriad-data-store 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/ */

    

think.studio / laravel-myriad-data-store example snippets

shell
php artisan vendor:publish --provider="MyriadDataStore\ServiceProvider" --tag="config"
shell
# Create all ed IDs are not foreign keys - to allow download in any order
php artisan migrate
# Download related data
php artisan myriad-download:despatch-types
php artisan myriad-download:titles
php artisan myriad-download:issues
php artisan myriad-download:contact-types
php artisan myriad-download:product-types
php artisan myriad-download:order-package-types
php artisan myriad-download:order-status-types
# Use tinker to make multiple batch:
php artisan tinker
> for ($i=0;$i<3200;$i++) {$st=($i*125)+1; \Artisan::call("myriad-download:contacts {$st} --count=125 --queue=myriad");}
> for ($i=0;$i<3200;$i++) {$st=($i*125)+1; \Artisan::call("myriad-download:contacts-orders-basic {$st} --count=125 --queue=myriad");}