d3yii2 / d3horizon
There is no license information available for the latest version (dev-main) of this package.
Horizon API module
dev-main
2022-10-21 07:50 UTC
Requires
- ext-libxml: *
- ext-simplexml: *
- guzzlehttp/guzzle: 7.4.5
- simialbi/yii2-rest-client: 2.0.0
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-11-16 16:16:41 UTC
README
#Horizon API module Yii2 modulis Horizon RESTam https://horizon-rest-doc.visma.lv/lv
Features
Modeļi
- TNdmNom
Modeļu funkcionalitāte
- save() kā insert
- save() kā update
- findOne($id)
- findOne(['fieldName'=>$fieldValue])
- delete()
Installation
The preferred way to install this extension is through composer.
Either run
$ composer require d3yii2/d3horizon "*"
or add
"d3yii2/d3horizon": "*"
to the require
section of your composer.json
file.
Connection settings
Definē kā komonenti
'horizonRest' => [ 'class' => 'd3yii2\d3horizon\components\RestConnection', 'baseUrl' => getenv('HORIZON_API_BASE_URL'), 'horizonApiUsername' => getenv('HORIZON_API_USERNAME'), 'horizonApiPassword' => getenv('HORIZON_API_PASSWORD'), 'enableExceptions' => true, ],