PHPackages                             pompdelux/kraken-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. pompdelux/kraken-bundle

ActiveSymfony-bundle[API Development](/categories/api)

pompdelux/kraken-bundle
=======================

Integrates Kraken.io into your Symfony2 application

1.0.0(11y ago)31822MITPHPPHP &gt;=5.3.3

Since May 19Pushed 11y ago4 watchersCompare

[ Source](https://github.com/pompdelux/kraken-bundle)[ Packagist](https://packagist.org/packages/pompdelux/kraken-bundle)[ Docs](https://github.com/pompdelux/kraken-bundle)[ RSS](/packages/pompdelux-kraken-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

KrakenBundle
============

[](#krakenbundle)

This bundle allows you to integrate [kraken.io](https://kraken.io/) into your Symfony2 application.

Install:
--------

[](#install)

1. Add KrakenBundle to your dependencies:

    ```
     // composer.json
     {
         // ...
         "require": {
             // ...
             "pompdelux/kraken-bundle": "1.x"
         }
     }

    ```
2. Use Composer to download and install the bundle:

    ```
     $ php composer.phar update pompdelux/kraken-bundle

    ```
3. Register the bundle in your application:

    ```
     // app/AppKernel.php
     class AppKernel extends Kernel
     {
         // ...
         public function registerBundles()
         {
             $bundles = array(
                 // ...
                 new Pompdelux\KrakenBundle\KrakenBundle()
             );
         }
     }

    ```
4. Add the configuration needed to use the bundle:

    ```
     // config.yml
     kraken:
         services:
             service_name:
                 api_key:    your-kraken.io-key
                 api_secret: your-kraken.io-secret

    ```

Usage:
------

[](#usage)

### Basic example:

[](#basic-example)

```
$kraken = $this->container->get('pompdelux.kraken.service_name');
$result = $kraken->squeeze('http://example.com/some/public/image.jpg');
```

### Example with callback rather than wait strategy:

[](#example-with-callback-rather-than-wait-strategy)

```
# config.yml
kraken:
    services:
        ...
        callback_service:
            api_key:        your-kraken.io-key
            api_secret:     your-kraken.io-secret
            callback:       true
            callback_route: your_callback_route

# routing.yml
acme_kraken_callback:
    pattern: /my/kraken/callback
    defaults: { _controller: AcmeTestBundle:Kraken:callback }
    requirements:
        _method:  POST
```

```
$kraken = $this->container->get('pompdelux.kraken.callback_service');
$result = $kraken->squeeze('http://example.com/some/public/image.jpg');

// In AcmeTestBundle/Controller/KrakenController.php
//
// this method will be called once kraken.io is done processing your image.
public function callbackAction(Request $request)
{
    error_log(print_r($request->getContent(), 1));
    return new Response();
}
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4373d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d7ac77974443c5f74873b08343ad793ea43d870d24ecdf72dcc04b6ba9d19762?d=identicon)[mrbase](/maintainers/mrbase)

---

Tags

apiclientweb serviceimage-optimizationkrakenkraken.io

### Embed Badge

![Health badge](/badges/pompdelux-kraken-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/pompdelux-kraken-bundle/health.svg)](https://phpackages.com/packages/pompdelux-kraken-bundle)
```

###  Alternatives

[pdfcrowd/pdfcrowd

A client library for the Pdfcrowd API. It lets you convert between HTML, PDF and various image formats

631.1M1](/packages/pdfcrowd-pdfcrowd)[apigee/apigee-client-php

Client library for connecting to the Apigee Edge API.

27558.7k3](/packages/apigee-apigee-client-php)[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)[skeeks/yii2-google-api

Component for work with google api based on google/apiclient

1243.1k1](/packages/skeeks-yii2-google-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
