Download the PHP package bcdh/exist-db-rest-client without Composer
On this page you can find all versions of the php package bcdh/exist-db-rest-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package exist-db-rest-client
Laravel eXist-db REST Client
A Laravel client for querying and transforming results from eXist-db via REST API.
Requirements:
- Laravel 5
- PHP 5.5
- PHP XSLT extension
Installing
1. Add the service provider to your config/app.php:
BCDH\ExistDbRestClient\ExistDbServiceProvider::class
2. Publish your configuration file:
php artisan vendor:publish
3. Edit your connection credentials in config/exist-db.php
[
'user' => 'admin',
'password' => 'admin',
'protocol' => 'http',
'host' => 'localhost',
'port' => 8080,
'path' => 'exist/rest',
/* alternatively, you can specify the URI as a whole in the form */
// 'uri'=>'http://localhost:8080/exist/rest/'
'xsl' => 'no',
'indent' => 'yes',
'howMany' => 10,
'start' => 1,
'wrap' => 'yes'
]
Usage
Result formatting
sabre/xml library is used for parsing xml result. You can pass an instance of \Sabre\Xml\Service with your own (de)serializers to Query request methods
Result example
XLS transformations
-
Single result
- Result
All versions of exist-db-rest-client with dependencies
PHP Build Version
Package Version
Requires
php Version
~5.5|~7.0
illuminate/support Version 5.*
guzzlehttp/guzzle Version ^5.0|^6.0
sabre/xml Version ~1.4
illuminate/support Version 5.*
guzzlehttp/guzzle Version ^5.0|^6.0
sabre/xml Version ~1.4
The package bcdh/exist-db-rest-client contains the following files
Loading the files please wait ....