PHPackages                             smartprax/medidoc - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. smartprax/medidoc

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

smartprax/medidoc
=================

Laravel package package for Medidoc service.

1.1.3(6mo ago)0504MITPHPPHP ^8.1|^8.2

Since Jun 28Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/smartprax/medidoc)[ Packagist](https://packagist.org/packages/smartprax/medidoc)[ Docs](https://github.com/smartprax/medidoc)[ RSS](/packages/smartprax-medidoc/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (12)Versions (8)Used By (0)

Medidoc API Client Library for Laravel
======================================

[](#medidoc-api-client-library-for-laravel)

A [Laravel](https://laravel.com/) package to use the [Medidoc API](http://api.medidoc.ch/introduction/how-to-use-medidoc/).

You need an account to access the documentation and use the API.

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

[](#installation)

```
composer require smartprax/medidoc
```

Configuration
-------------

[](#configuration)

Set the follwing variables in `.env`:

```
MEDIDOC_ENDPOINT="" # Defaults to 'https://test.medidoc.ch/webservices/MedidocSoapAccessV2.asmx?WSDL'
MEDIDOC_GLN=""
MEDIDOC_PASSWORD=""
```

Tests
-----

[](#tests)

Copy `phpunit.xml.dist` to `phpunit.xml` and set the env values:

```

```

Run the tests:

```
composer test
```

Usage
-----

[](#usage)

The methods (SOAP functions) can be found in the `Smartprax\Medidoc\Methods` namespace and are implemented as [Actions](https://laravelactions.com/).

Meaning, you can just call the static `run` method, e.g.:

```
$can_connect = CheckConnection::run();

$insuranceListResponse = GetInsuranceList::run(
    new ArrayOfNameValue([
        new NameValue('Canton', 'AG'),
    ])
)
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance69

Regular maintenance activity

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~153 days

Total

7

Last Release

180d ago

PHP version history (3 changes)1.0.0PHP ^8.1

1.1.0PHP ^8.2

1.1.1PHP ^8.1|^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/46dce280a545bdc2a6059f61ff7586f2cec7ecd93de5c45af276021266e69312?d=identicon)[smartprax](/maintainers/smartprax)

---

Top Contributors

[![rico](https://avatars.githubusercontent.com/u/92818?v=4)](https://github.com/rico "rico (99 commits)")

---

Tags

laravellaravelsmartpraxmedidoc

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/smartprax-medidoc/health.svg)

```
[![Health](https://phpackages.com/badges/smartprax-medidoc/health.svg)](https://phpackages.com/packages/smartprax-medidoc)
```

###  Alternatives

[nativephp/mobile

NativePHP for Mobile

1.1k75.1k95](/packages/nativephp-mobile)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M166](/packages/spatie-laravel-health)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[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.

5022.0k](/packages/simplestats-io-laravel-client)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)

PHPackages © 2026

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