PHPackages                             think.studio/laravel-myriad-soap - 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. [API Development](/categories/api)
4. /
5. think.studio/laravel-myriad-soap

ActiveLibrary[API Development](/categories/api)

think.studio/laravel-myriad-soap
================================

Unofficial web integration with Myriad 5.1

1.4.1(4mo ago)0342MITPHPPHP ^8.0

Since May 14Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/dev-think-one/laravel-myriad-soap)[ Packagist](https://packagist.org/packages/think.studio/laravel-myriad-soap)[ Docs](https://github.com/dev-think-one/laravel-myriad-soap)[ RSS](/packages/thinkstudio-laravel-myriad-soap/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (6)Versions (12)Used By (2)

Laravel: Myriad SOAP
====================

[](#laravel-myriad-soap)

[![Packagist License](https://camo.githubusercontent.com/e2c295fa77ab1138b850769834e82bf067f5f83c4ebf6bd23ed609722f3b9cad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7468696e6b2e73747564696f2f6c61726176656c2d6d79726961642d736f61703f636f6c6f723d253233346463373166)](https://camo.githubusercontent.com/e2c295fa77ab1138b850769834e82bf067f5f83c4ebf6bd23ed609722f3b9cad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7468696e6b2e73747564696f2f6c61726176656c2d6d79726961642d736f61703f636f6c6f723d253233346463373166)[![Packagist Version](https://camo.githubusercontent.com/7b8172518cdde22f9ae9969f063d90c39cf1eb24c0219cc8a7b5c6d2fb64d37f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7468696e6b2e73747564696f2f6c61726176656c2d6d79726961642d736f6170)](https://packagist.org/packages/think.studio/laravel-myriad-soap)[![Total Downloads](https://camo.githubusercontent.com/a0c1bd791b69f76da478018d89eb7240c8dd2828dab48d8833d1c607ed8cfbf9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7468696e6b2e73747564696f2f6c61726176656c2d6d79726961642d736f6170)](https://packagist.org/packages/think.studio/laravel-myriad-soap)[![Build Status](https://camo.githubusercontent.com/6886c7e25d714860aba57696e35789a884c9c61ae6204bab61ae3d2d8815dcc8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6465762d7468696e6b2d6f6e652f6c61726176656c2d6d79726961642d736f61702f6261646765732f6275696c642e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dev-think-one/laravel-myriad-soap/build-status/main)[![Code Coverage](https://camo.githubusercontent.com/14f7ab994547446a4abc7d4cea5ab3aae3a6b4f81ef0accf061f3219655b8b08/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6465762d7468696e6b2d6f6e652f6c61726176656c2d6d79726961642d736f61702f6261646765732f636f7665726167652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dev-think-one/laravel-myriad-soap/?branch=main)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/299e522b4f4bcfb583eb54caf1d767cc1663921cb30fc5ea2ec5b2c3f8c9ec38/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6465762d7468696e6b2d6f6e652f6c61726176656c2d6d79726961642d736f61702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dev-think-one/laravel-myriad-soap/?branch=main)

Unofficial web integration with Myriad 5.1

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

[](#installation)

You can install the package via composer:

```
composer require think.studio/laravel-myriad-soap

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

Usage
-----

[](#usage)

Direct call via facade:

```
$result = MyriadSoap::SOAP_getContactCommunications(['Contact_ID' => 1234]);
/*
    [
     "ContactCommunication" => [
       "123456;12;01234 567 890;Yes",
       "123457;14;me@test.co.uk;No",
     ],
    ]
*/

```

By default, Myriad lists responses has unexpected string lists responses, that why will be useful helper:

```
MyriadSoap::SOAP_getContactCommunications_List(['Contact_ID' => 1234], 3, 'ContactCommunication' /* Optional, as appropriate key, app will try guess itself */);
```

Or convert response to collection:

```
MyriadSoap::SOAP_getContactCommunications_Collection(['Contact_ID' => 1234], [
        'ContactCommunication_ID' => fn($i) => (int) $i,
        'DespatchType_ID' => fn($i) => (int) $i,
        'ContactCommunication',
        'PrimaryUse'              => fn($i) => $i == 'Yes',
    ], 'ContactCommunication' /* Optional, as appropriate key, app will try guess itself */);
```

To fetch not strings lists use AssocCollection call:

```
MyriadSoap::SOAP_getOrderPackageTypes_AssocCollection([], [
            'OrderPackageType_ID' => fn($i) => (int) tap($i, fn() => throw_if(! is_numeric($i), UnexpectedTypeException::class)),
            'OrderPackageType' => fn($i) => (string) $i,
            'OrderPackageCategory',
        ], 'OrderPackageType' /* Optional, as appropriate key, app will try guess itself */);
```

Using feature sets that allow you to wrap your own business logic (each class should `extends FunctionsSet`)

```
use MyriadSoap\Endpoints\FunctionsSet;

class MyContactFunctions extends FunctionsSet {

    public function getContactCommunications( int $customerNumber ) {
        return $this->api->call(
            'SOAP_getContactCommunications',
            [
                'Contact_ID' => $customerNumber,
            ]
        );
    }
}

$result =  MyriadSoap::functionsSet(MyContactFunctions::class)->getContactCommunications(1234);

```

Credits
-------

[](#credits)

- [![Think Studio](https://camo.githubusercontent.com/8e541bece07d503c85a126b5294865faa00e27371048772f566a0cce8c01fd3a/68747470733a2f2f7961726f736c617777772e6769746875622e696f2f696d616765732f73706f6e736f72732f7061636b616765732f6c6f676f2d7468696e6b2d73747564696f2e706e67)](https://think.studio/)

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance74

Regular maintenance activity

Popularity8

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 92.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~173 days

Recently: every ~365 days

Total

11

Last Release

144d ago

PHP version history (3 changes)1.0.0PHP &gt;7.4

1.1.0PHP &gt;=8.0

1.2.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/53f93fa87d58f33d106de6bd5e2946f8a345ebfaee146360746056cb134a15a0?d=identicon)[think.studio](/maintainers/think.studio)

---

Top Contributors

[![yaroslawww](https://avatars.githubusercontent.com/u/23663794?v=4)](https://github.com/yaroslawww "yaroslawww (13 commits)")[![annromantsova](https://avatars.githubusercontent.com/u/16173671?v=4)](https://github.com/annromantsova "annromantsova (1 commits)")

---

Tags

emyriadmyriad-soap

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/thinkstudio-laravel-myriad-soap/health.svg)

```
[![Health](https://phpackages.com/badges/thinkstudio-laravel-myriad-soap/health.svg)](https://phpackages.com/packages/thinkstudio-laravel-myriad-soap)
```

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.6k3](/packages/defstudio-telegraph)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[rapidez/core

Rapidez Core

1823.5k72](/packages/rapidez-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
