jlorente/laravel-stethome

Laravel ^5.6 integration for the Jlorente StethoMe package.
5,880
Install
composer require jlorente/laravel-stethome
Latest Version:v2.0.4
PHP:>=7.0
License:BSD-3-Clause
Last Updated:Jan 20, 2026
Links: GitHub  ·  Packagist
Maintainer: jlorente

StethoMe SDK for Laravel

Laravel integration for the StethoMe SDK.

Installation

The preferred way to install this extension is through composer.

With Composer installed, you can then install the extension using the following commands:

$ php composer.phar require jlorente/laravel-stethome

or add

...
    "require": {
        "jlorente/laravel-stethome": "*"
    }

to the require section of your composer.json file.

Configuration

  1. Register the ServiceProvider in your config/app.php service provider list.

config/app.php

return [
    //other stuff
    'providers' => [
        //other stuff
        \Jlorente\Laravel\StethoMe\StethoMeServiceProvider::class,
    ];
];
  1. Add the following facade to the $aliases section.

config/app.php

return [
    //other stuff
    'aliases' => [
        //other stuff
        'StethoMe' => \Jlorente\Laravel\StethoMe\Facades\StethoMe::class,
    ];
];
  1. Set the vendor_token in the config/stethome.php file or use the predefined env variables.

config/stethome.php

return [
    'vendor_token' => 'YOUR_VENDOR_TOKEN',
    //other configuration
];

or .env

//other configurations
STETHOME_VENDOR_TOKEN=<YOUR_VENDOR_TOKEN>

Usage

You can use the facade alias StethoMe to execute api calls. The authentication params will be automaticaly injected.

StethoMe::pulmonary()->getVisitId();

See the StethoMe PHP SDK or the StethoMe API to know more about the methods and the API endpoints params and responses.

License

Copyright © 2020 José Lorente Martín jose.lorente.martin@gmail.com.

Licensed under the BSD 3-Clause License. See LICENSE.txt for details.

Related Packages

jlorente/laravel-zadarma

Laravel ^5.6 integration for the Jlorente Zadarma package.

13,729 3
jlorente/laravel-pushy

Laravel integration for the Pushy SDK including a notification channel

12,517 2
jlorente/laravel-credit-cards

Laravel >=5.6 integration for the PHP Credit Cards package that allows to perfor...

38,796 7
jlorente/laravel-esendex

Laravel 5.6 integration for the Esendex SDK.

24,946 2
jlorente/laravel-appsflyer

Laravel 5.6 integration for the Jlorente Appsflyer package.

6,520 0