Download the PHP package homedoctor-es/laravel-holded without Composer
On this page you can find all versions of the php package homedoctor-es/laravel-holded. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download homedoctor-es/laravel-holded
More information about homedoctor-es/laravel-holded
Files in homedoctor-es/laravel-holded
Package laravel-holded
Short Description Laravel integration of the [Holded PHP SDK](https://github.com/homedoctor-es/holded-php-sdk).
License BSD-3-Clause
Informations about the package laravel-holded
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:
or add
to the section of your composer.json
file.
Configuration
- Register the ServiceProvider in your config/app.php service provider list.
config/app.php
- If you want, you can add the following facade to the $aliases section.
config/app.php
-
Publish the Holded provider
- Set the reference, api_key and base_url in the config/holded.php file.
config/holded.php
- Or use .env file
Usage
You can use the facade alias Holded to execute services of the Holded sdk. The authentication params will be automatically injected.
Or use Laravel Service Container to get The Holded Instance.
Once you have done this steps, you can use all Holded SDK endpoints as are described in the sdk package documentation.
All versions of laravel-holded with dependencies
illuminate/support Version >=5.7
homedoctor-es/holded-php-sdk Version 1.0.3