Symfony2 Bundle for AlchemyAPI integration

Installs: 1 010

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 0

Open Issues: 1


v0.1.3 2014-12-25 15:11 UTC

This package is not auto-updated.

Last update: 2023-05-22 21:28:12 UTC


This bundle provides an AlchemyAPI integration for your Symfony2 Project.

Build Status Total Downloads Latest Stable Version

AlchemyAPI Method Supported

  • Author Extraction
  • Concept Tagging
  • Content Scraping
  • Entity Extraction
    • WebAPI
  • Keyword Extraction
  • Language Detection
  • Microformats Parsing
  • Relation Extraction
  • Sentiment Analysis
  • Text Categorization
  • Text Extraction

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


  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:

php composer.phar update codag/alchemyapi-bundle

Step 2: Enable the bundle

// app/AppKernel.php

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

Step 3: Configure the bundle

Yml configuration:

# app/config/config.yml

    api_key: 831370096236c6db90393a1d206010ffffffffff


This bundle provides the service codag.alchemyapi

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

Entity Extraction



Text API


Web API (URLGetRankedNamedEntities)

$alchemy = $this->alchemy;
$entityExtraction = $alchemy
$data = $entityExtraction->getData();


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.

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


This bundle is under the MIT license. See the complete license here.