PHP code example of homedoctor-es / laravel-holded

1. Go to this page and download the library: Download homedoctor-es/laravel-holded library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

homedoctor-es / laravel-holded example snippets


return [
    //other stuff
    'providers' => [
        //other stuff
        \HomedoctorEs\Laravel\Holded\HoldedServiceProvider::class,
    ];
];

return [
    //other stuff
    'aliases' => [
        //other stuff
        'Holded' => \HomedoctorEs\Laravel\Holded\Facades\Holded::class,
    ];
];

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

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

app(\HomedoctorEs\Laravel\Holded\Holded::class)->contact();
bash
$ php composer.phar 

php artisan vendor:publish --provider="HomedoctorEs\Laravel\Holded\HoldedServiceProvider"