codibly / databricks-bundle
Databricks PHP integration for your Symfony3 project using Guzzle
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.0.0
- guzzlehttp/guzzle: ~6.0
- psr/log: ^1.0
- symfony/console: ^3.3
- symfony/framework-bundle: ^3.3
- symfony/options-resolver: ^3.3
- symfony/validator: ^3.3
Requires (Dev)
- codeception/codeception: 2.3.*
This package is not auto-updated.
Last update: 2024-11-13 05:27:39 UTC
README
Documentation
The source of the documentation is stored in the Resources/doc/
folder
in this bundle, and available on symfony.com:
Installation
Get the bundle using composer
Add CodiblyDatabrickBundle by running this command from the terminal at the root of your Symfony project:
composer require codibly/databricks-bundle
Alternatively, you can add the requirement "codibly/databricks-bundle": "dev-master"
to your composer.json and run composer update
.
This could be useful when the installation of CodiblyDatabricksBundle is not compatible with some currently installed dependencies. Anyway, the previous option is the preferred way, since composer can pick the best requirement constraint for you.
Enable the bundle
To start using the bundle, register the bundle in your application's kernel class:
// app/AppKernel.php class AppKernel extends Kernel { public function registerBundles() { $bundles = [ // ... new Codibly\DatabricksBundle\CodiblyDatabricksBundle(), // ... ]; } }
Choose and configure a driver
One driver are currently supported:
Once the chosen driver is installed and configured, tell CodiblyDatabricksBundle that you want to use it.
# app/config/config.yml codibly_databricks: api: driver: guzzle host: 'https://your_instance.clud.databricks.com/api/v2.0' username: '%env(DATABRICKS_USERNAME)%' password: '%env(DATABRICKS_PASSWORD)%'
That was it!
Yea, the bundle is installed! Move onto the usage section to find out how to configure and setup your first cluster.
Licence
About
Reporting an issue or a feature request
Issues and feature requests are tracked in the Github issue tracker.
When reporting a bug, it may be a good idea to reproduce it in a basic project built using the Symfony Standard Edition to allow developers of the bundle to reproduce the issue by simply cloning it and following some steps.