kiora / everial-bundle
There is no license information available for the latest version (1.1.2) of this package.
A bundle for everial lib
1.1.2
2020-10-25 22:28 UTC
Requires
- kiora/everial: ^0.2
- symfony/config: ^4.4|^5.1
- symfony/dependency-injection: ^4.4|^5.1
- symfony/http-client: ^4.4|^5.1
- symfony/http-kernel: ^4.4|^5.1
README
Installation
With composer, require:
composer require kiora/everial-bundle
Then enable it in your kernel (optional if you are using the Flex recipe with Symfony4) :
// config/bundles.php return [ //... Kiora\EverialBundle\EverialBundle::class => ['all' => true], //... ];
Configuration
kiora_everial: auth_base_path: "https://auth.doclab.everial.com/auth/realms/quota/protocol/openid-connect/token" base_path: "https://radial.my-company.com" username: "foo" password: "bar"
Usage
use Kiora\EverialClient; class SomeController { public function test(EverialClient $everailClient) { $file = new \SplFileObject('file.pdf'); $reponse = $everailClient->serialize($file)->toArray(); return $reponse; } }