kiora / everial-bundle
A bundle for everial lib
Installs: 430
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 1
pkg:composer/kiora/everial-bundle
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; } }