PHPackages                             yaroslawww/laravel-myriad-data-store - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. yaroslawww/laravel-myriad-data-store

Abandoned → [think.studio/laravel-myriad-data-store](/?search=think.studio%2Flaravel-myriad-data-store)Library

yaroslawww/laravel-myriad-data-store
====================================

Download data from myriad app using soap api.

1.3.0(2y ago)020MITPHPPHP ^8.1

Since Jul 23Pushed 2y ago1 watchersCompare

[ Source](https://github.com/dev-think-one/laravel-myriad-data-store)[ Packagist](https://packagist.org/packages/yaroslawww/laravel-myriad-data-store)[ Docs](https://github.com/dev-think-one/laravel-myriad-data-store)[ RSS](/packages/yaroslawww-laravel-myriad-data-store/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (8)Versions (6)Used By (0)

Myriad data downloader.
=======================

[](#myriad-data-downloader)

[![Packagist License](https://camo.githubusercontent.com/5a518e486161cd98072f0a3bbb5b9e211c5abe0f5e1ae8cfdecb4826ce3b8d78/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7468696e6b2e73747564696f2f6c61726176656c2d6d79726961642d646174612d73746f72653f636f6c6f723d253233346463373166)](https://camo.githubusercontent.com/5a518e486161cd98072f0a3bbb5b9e211c5abe0f5e1ae8cfdecb4826ce3b8d78/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7468696e6b2e73747564696f2f6c61726176656c2d6d79726961642d646174612d73746f72653f636f6c6f723d253233346463373166)[![Packagist Version](https://camo.githubusercontent.com/2abf521116b732cee420cf610f94520c32e57f9e9b7b7756148f9975829f1703/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7468696e6b2e73747564696f2f6c61726176656c2d6d79726961642d646174612d73746f7265)](https://packagist.org/packages/think.studio/laravel-myriad-data-store)[![Total Downloads](https://camo.githubusercontent.com/50b5219f50fbf73334298aed69c4fc02dfce25b303756697b5ad1d4ca64580d1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7468696e6b2e73747564696f2f6c61726176656c2d6d79726961642d646174612d73746f7265)](https://packagist.org/packages/think.studio/laravel-myriad-data-store)[![Build Status](https://camo.githubusercontent.com/d991011a3a9157111ea42530ce76ff8b830545702a9f23938adb03829cc1edff/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6465762d7468696e6b2d6f6e652f6c61726176656c2d6d79726961642d646174612d73746f72652f6261646765732f6275696c642e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dev-think-one/laravel-myriad-data-store/build-status/main)[![Code Coverage](https://camo.githubusercontent.com/a357542b816dd3d129373dad528244538c528f43df5e7bfa1670a05d03f06916/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6465762d7468696e6b2d6f6e652f6c61726176656c2d6d79726961642d646174612d73746f72652f6261646765732f636f7665726167652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dev-think-one/laravel-myriad-data-store/?branch=main)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/afb2014629544f9aeadaff204f1e1f801d158fbd145db621c6d2240009e513fc/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6465762d7468696e6b2d6f6e652f6c61726176656c2d6d79726961642d646174612d73746f72652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dev-think-one/laravel-myriad-data-store/?branch=main)

Download specific myriad app data to your internal database.

Installation
------------

[](#installation)

Install the package via composer:

```
composer require think.studio/laravel-myriad-data-store
```

Optionally you can publish the config file with:

```
php artisan vendor:publish --provider="MyriadDataStore\ServiceProvider" --tag="config"
```

This package works on top of [`think.studio/laravel-myriad-soap`](https://packagist.org/packages/dev-think-one/laravel-myriad-soap) - please follow this configuration.

Usage
-----

[](#usage)

Easy way to download current database to your system is:

```
# Create all required tables
# Note: All related 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 for ($i=0;$i
