cwd / datamolino-bundle
This package is abandoned and no longer maintained.
The author suggests using the cwd/datamolino-client package instead.
1.0.1
2018-10-14 12:09 UTC
Requires
- php: >=7.1
- cwd/datamolino-client: ^1.2.2.1
This package is auto-updated.
Last update: 2022-02-01 13:14:53 UTC
README
This is a Symfony Bridge for the Datamolino Client.
Installation:
composer require cwd/datamolino-bundle
Usage:
Configuration
Enable the bundle in bundles.php:
return [
// ...
Cwd\DatamolinoBundle\CwdDatamolinoBundle::class => ['all' => true],
]
Create config/packages/cwd_datamolino.yaml:
cwd_datamolino:
client_id: your_client_id
client_secret: you_client_secret
datamolino_host: beta.datamolino.com or app.datamolino.com
username: your_username
password: your_password
Authentication
$datamolino = $this->get(Cwd\Datamolino\DatamolinoClient::class); // Get a Token via password authentication $token = $datamolino->getClient()->authenticate();
See client for an example of all api methods: https://github.com/cwd/datamolino-client/blob/master/README.md