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(4mo ago)0488MITPHPPHP ^8.1|^8.2

Since Jun 28Pushed 4mo 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 1mo ago

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

43

—

FairBetter than 91% of packages

Maintenance75

Regular maintenance activity

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

133d 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

[spatie/laravel-data

Create unified resources and data transfer objects

1.8k28.9M627](/packages/spatie-laravel-data)[maestroerror/laragent

Power of AI Agents in your Laravel project

630106.4k](/packages/maestroerror-laragent)[nativephp/mobile

NativePHP for Mobile

82724.0k43](/packages/nativephp-mobile)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[spatie/laravel-rdap

Perform RDAP queries in a Laravel app

72108.3k2](/packages/spatie-laravel-rdap)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)

PHPackages © 2026

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