dafiti / datajet-service-provider
A Silex Service Provider for Datajet
This package's canonical repository appears to be gone and the package has been frozen as a result.
1.2.0
2016-02-26 18:26 UTC
Requires
- php: >=5.5.0
- dafiti/datajet-client: 0.3.0
- silex/silex: ~1.3.4
Requires (Dev)
- fabpot/php-cs-fixer: @stable
- phpunit/phpunit: @stable
This package is not auto-updated.
Last update: 2021-06-12 01:13:56 UTC
README
A Silex Service Provider for Datajet
Instalation
The package is available on Packagist. Autoloading is PSR-4 compatible.
{ "require": { "dafiti/datajet-service-provider": "dev-master" } }
Usage
use Silex\Application; use Dafiti\Silex\SolariumServiceProvider; $app = new Application(); $app->register(new DatajetServiceProvider(), [ 'datajet.config' => [ 'hawk' => [ 'import_key' => KEY_IMPORT, 'search_key' => KEY_SEARCH, ], ], ]); $id = 1; $result = $app['datajet']->delete($id);
Please see DatajetClient docs: https://github.com/dafiti/datajet-client/
License
MIT License