New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

homedoctor-es/laravel-holded

Laravel integration of the Holded PHP SDK.
3,403
Install
composer require homedoctor-es/laravel-holded
Latest Version:1.0.4
PHP:>=7.0.0
Laravel:5 – 13
License:BSD-3-Clause
Last Updated:Oct 22, 2026
Links: GitHub  ·  Packagist
Maintainer: Homedoctor

Holded SDK integration for Laravel

Laravel integration for the Holded 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 homedoctor-es/laravel-holded

or add

...
    "require": {
        "homedoctor-es/laravel-holded": "*"
    }

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
        \HomedoctorEs\Laravel\Holded\HoldedServiceProvider::class,
    ];
];
  1. If you want, you can add the following facade to the $aliases section.

config/app.php

return [
    //other stuff
    'aliases' => [
        //other stuff
        'Holded' => \HomedoctorEs\Laravel\Holded\Facades\Holded::class,
    ];
];
  1. Publish the Holded provider
php artisan vendor:publish --provider="HomedoctorEs\Laravel\Holded\HoldedServiceProvider"
  1. Set the reference, api_key and base_url in the config/holded.php file.

config/holded.php

return [
    'api_key' => env('HOLDED_API_KEY'),
    'base_url' => env('HOLDED_BASE_URL', 'https://api.holded.com/api/'),
];
  1. Or use .env file
HOLDED_API_KEY=
HOLDED_BASE_URL=https://api.holded.com/api/

Usage

You can use the facade alias Holded to execute services of the Holded sdk. The authentication params will be automatically injected.

$contacts = \HomedoctorEs\Laravel\Holded\Facades\Holded::contact();

Or use Laravel Service Container to get The Holded Instance.

app(\HomedoctorEs\Laravel\Holded\Holded::class)->contact();

Once you have done this steps, you can use all Holded SDK endpoints as are described in the sdk package documentation.

Related Packages

homedoctor-es/laravel-intercom

Laravel integration of the Intercom PHP SDK.

3,398 0
valorin/random

Random is a simple helper package designed to make it easy to generate a range o...

413,065 233
php
cline/variable-keys

Laravel Blueprint macros for variable primary key and morph types

22,912 0
php
cline/struct

Lean, attribute-driven Laravel data objects with explicit validation and Eloquen...

17,788 0
php
cline/toggl

Advanced feature flag management with strategies, time bombs, and groups

12,171 0
php

Version History

Version Released PHP Laravel License
1.0.4 >=7.0.0 >=5.7 BSD-3-Clause
1.0.3 >=7.0.0 >=5.7 BSD-3-Clause
1.0.2 >=7.0.0 >=5.7 BSD-3-Clause
1.0.1 >=7.0.0 >=5.7 BSD-3-Clause
1.0.0 >=7.0.0 >=5.7 BSD-3-Clause