2017 © Pedro Peláez
 

symfony-bundle alchemyapi-bundle

Symfony2 Bundle for AlchemyAPI integration

image

codag/alchemyapi-bundle

Symfony2 Bundle for AlchemyAPI integration

  • Thursday, December 25, 2014
  • by backender
  • Repository
  • 2 Watchers
  • 2 Stars
  • 939 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 7 Versions
  • 8 % Grown

The README.md

CodagAlchemyApiBundle

This bundle provides an AlchemyAPI integration for your Symfony2 Project., (*1)

Build Status Total Downloads Latest Stable Version, (*2)

AlchemyAPI Method Supported - [ ] Author Extraction - [ ] Concept Tagging - [ ] Content Scraping - [ ] Entity Extraction - [x] WebAPI - [ ] Keyword Extraction - [ ] Language Detection - [ ] Microformats Parsing - [ ] RSS/ATOM - [ ] Relation Extraction - [ ] Sentiment Analysis - [ ] Text Categorization - [ ] Text Extraction, (*3)

Do you need support for a method not on the list or not completed yet? Please submit an issue or feel free to contribute!, (*4)

Installation

  1. Add CodagAlchemyApiBundle to your composer.json
  2. Enable the bundle
  3. Configure the bundle

Step 1: Add CodagAlchemyApiBundle to your composer.json

{
    "require": {
        "codag/alchemyapi-bundle": "dev-master"
    }
}

Update your project dependencies:, (*5)

php composer.phar update codag/alchemyapi-bundle

Step 2: Enable the bundle

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Codag\AlchemyApiBundle\CodagAlchemyApiBundle(),
    );
}

Step 3: Configure the bundle

Yml configuration:, (*6)

# app/config/config.yml

codag_alchemy_api:
    api_key: 831370096236c6db90393a1d206010ffffffffff

Usage

This bundle provides the service codag.alchemyapi, (*7)

<?php
$alchemy = $this->get('codag.alchemyapi');

Entity Extraction

HTML API

//TODO

Text API

//TODO

Web API (URLGetRankedNamedEntities), (*8)

$alchemy = $this->alchemy;
$entityExtraction = $alchemy
    ->getEntityExtraction()
    ->getWeb();
$entityExtraction->setUrl($this->url);
$entityExtraction->setOutputMode('json');
$data = $entityExtraction->getData();

Contribute

If the bundle doesn't allow you to customize an option, I invite you to fork the project, create a feature branch, and send a pull request., (*9)

To ensure a consistent code base, you should make sure the code follows the Coding Standards., (*10)

License

This bundle is under the MIT license. See the complete license here., (*11)

The Versions

25/12 2014

dev-master

9999999-dev http://www.codag.ch

Symfony2 Bundle for AlchemyAPI integration

  Sources   Download

MIT

The Requires

 

by Marc Juchli

api alchemy alchemyapi

25/12 2014

v0.1.3

0.1.3.0 http://www.codag.ch

Symfony2 Bundle for AlchemyAPI integration

  Sources   Download

MIT

The Requires

 

by Marc Juchli

api alchemy alchemyapi

25/12 2014

dev-develop

dev-develop http://www.codag.ch

Symfony2 Bundle for AlchemyAPI integration

  Sources   Download

MIT

The Requires

 

by Marc Juchli

api alchemy alchemyapi

25/12 2014

v0.1.2

0.1.2.0 http://www.codag.ch

Symfony2 Bundle for AlchemyAPI integration

  Sources   Download

MIT

The Requires

 

by Marc Juchli

api alchemy alchemyapi

22/07 2013

dev-release/v0.1.1

dev-release/v0.1.1 http://www.codag.ch

Symfony2 Bundle for AlchemyAPI integration

  Sources   Download

MIT

The Requires

 

by Marc Juchli

api alchemy alchemyapi

22/07 2013

v0.1.1

0.1.1.0 http://www.codag.ch

Symfony2 Bundle for AlchemyAPI integration

  Sources   Download

MIT

The Requires

 

by Marc Juchli

api alchemy alchemyapi

03/07 2013

v0.1.0

0.1.0.0 http://www.codag.ch

Symfony2 Bundle for AlchemyAPI integration

  Sources   Download

MIT

The Requires

 

api alchemy alchemyapi