dev-master
9999999-dev https://github.com/nass600/CosmBundleThis bundle provides an integration with Cosm API
GNU
The Requires
- php >=5.3.0
- symfony/symfony >=2.0
symfony2 bundle feed cosm
This bundle provides an integration with Cosm API
The CosmBundle offers access to the cosm.com feed API either by using a PHP service or through the CLI for Symfony2. Is on charge of handle all the operations related to cosm feeds via the bundle CRUD interface., (*1)
Features include:, (*2)
Pachube is an web service provider allowing developers to connect their own data (energy and environment data from objects, devices & buildings) to the Web and to build their own applications on it., (*3)
For more information about the service, please visit: https://cosm.com, (*4)
Add CosmBundle to your vendor/bundles/ directory., (*5)
Add the following lines in your deps
file:, (*6)
[Nass600CosmBundle] git =https://github.com/nass600/CosmBundle.git target=/bundles/Nass600/CosmBundle
Run the vendors script:, (*7)
``` bash ./bin/vendors update, (*8)
Add the Nass600 namespace to your `app/autoload.php`: ``` php <?php // app/autoload.php $loader->registerNamespaces(array( // your other namespaces 'Nass600' => __DIR__.'/../vendor/bundles', );
Add CosmBundle to your app/AppKernel.php
:, (*9)
``` php <?php // app/AppKernel.php public function registerBundles() { return array( // ... new Nass600\CosmBundle\Nass600CosmBundle(), ); }, (*10)
#### On Symfony 2.1.x: Add this line to your project's composer.json: ``` json "require": { // your other packages "nass600/cosm-bundle": "dev-master" },
Add CosmBundle to your app/AppKernel.php
:, (*11)
php
<?php
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Nass600\CosmBundle\Nass600CosmBundle(),
);
}
, (*12)
This bundle provides an integration with Cosm API
GNU
symfony2 bundle feed cosm