2017 © Pedro Peláez
 

symfony-bundle feeds-cambuilder-bundle

This bundle reads CamBuilder's api to get live performers' Ids.

image

exs/feeds-cambuilder-bundle

This bundle reads CamBuilder's api to get live performers' Ids.

  • Monday, October 16, 2017
  • by rumpranger
  • Repository
  • 6 Watchers
  • 0 Stars
  • 321 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

EXS-FeedsCambuilderBundle

Build Status, (*1)

Installation

This bundle uses PHP's native Memcached objects., (*2)

Make sure the memcached module is enabled in your PHP's installation., (*3)

Require the bundle using composer, (*4)

$ composer require exs/feeds-cambuilder-bundle

Enable the bundle in AppKernel, (*5)

<?php
// app/AppKernel.php

class AppKernel extends Kernel
{
    // ...
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new EXS\FeedsCambuilderBundle\EXSFeedsCambuilderBundle(),
        );
    }
}

Configuration

Some configuration is available to manage the cache., (*6)

# Default values
exs_feeds_cambuilder:
    cache_ttl: 300
    memcached_host: 'localhost'
    memcached_port: 11211

Usage

// Returns 100 performer Ids by default.
$performerIds = $container
    ->get('exs_feeds_cambuilder.feeds_reader')
    ->getLivePerformers()
;

// Can specify the number of performers to return
$performerIds = $container
    ->get('exs_feeds_cambuilder.feeds_reader')
    ->getLivePerformers(20)
;

A command is also available if you want to force refresh the memcached record., (*7)

$ app/console feeds:cambuilder:refresh-live-performers --env=prod --no-debug

// Can specify number of performers and cache lifetime
$ app/console feeds:cambuilder:refresh-live-performers --limit=500 --ttl=3600 --env=prod --no-debug

The Versions

16/10 2017

dev-master

9999999-dev https://github.com/ExSituMarketing/EXS-FeedsCambuilderBundle

This bundle reads CamBuilder's api to get live performers' Ids.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ex-Situ Marketing

symfony2 bundle

16/10 2017

v1.0.2

1.0.2.0 https://github.com/ExSituMarketing/EXS-FeedsCambuilderBundle

This bundle reads CamBuilder's api to get live performers' Ids.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ex-Situ Marketing

symfony2 bundle

13/10 2017

v1.0.1

1.0.1.0 https://github.com/ExSituMarketing/EXS-FeedsCambuilderBundle

This bundle reads CamBuilder's api to get live performers' Ids.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ex-Situ Marketing

symfony2 bundle

18/09 2017

v1.0.0

1.0.0.0 https://github.com/ExSituMarketing/EXS-Feeds-Cambuilder

This bundle reads CamBuilder's api to get live performers' Ids.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ex-Situ Marketing

symfony2 bundle