2017 © Pedro Peláez
 

symfony-bundle pheal-bundle

pheal/pheal wrapper/factory bundle for use with Symfony2

image

shivas/pheal-bundle

pheal/pheal wrapper/factory bundle for use with Symfony2

  • Tuesday, October 21, 2014
  • by shivas
  • Repository
  • 0 Watchers
  • 0 Stars
  • 145 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

PhealBundle

Build Status, (*1)

Copyright (C) 2012 by Audrius Karabanovas All rights reserved., (*2)

PhealBundle is factory/wrapper for pheal/pheal library available on Packagist, (*3)

LICENSE

PhealBundle is licensed under a MIT style license, see LICENSE for further information, (*4)

FEATURES

  • fully transparent, doesn't change Pheal work in any way
  • defines Symfony2 service called "shivas.pheal.factory" for Pheal objects creation
  • defines configuration rules for bundle to automatically configure new Pheal instances directly from your application configuration file
  • configuration options named exactly same as in PhealConfig class, expect there is additional "reconfigure: boolean" option for factory itself.
  • uses Reflection to build/configure object, this means bundle doesn't have to change if pheal/pheal change unless there is drastic changes in configuration

REQUIREMENTS

  • PHP 5.3.3

INSTALLATION

composer

PhealBundle is available as package shivas/pheal-bundle through packagist on composer http://getcomposer.org, (*5)

Add to composer.json, (*6)

"shivas/pheal-bundle": "dev-master"

Run composer update to install, (*7)

php composer.phar update

Add Bundle to your AppKernel.php, (*8)

new shivas\PhealBundle\shivasPhealBundle(),

USAGE

Create Pheal API object

// controller action
$pheal = $this->get('shivas.pheal.factory')->getInstance("keyID", "vCode"[, "scope for request"]);

Configuration options

Configuration options reference is available in Symfony console running:, (*9)

./app/console config:dump-reference shivasPhealBundle

or

php app/console config:dump-reference shivasPhealBundle

All options except "reconfigure" is exact copy of Pheal, (*10)

reconfigure: true|false

Reconfigure option is used for factory itself, default to False meaning there is no changes in default behavior of Pheal. Setting this option to True makes factory to reconfigure PhealConfig singleton with default settings from your application configuration on each object creation., (*11)

TODO

  • more documentation
  • more UNIT tests

CONTACT

The Versions

21/10 2014

dev-master

9999999-dev http://github.com/shivas/PhealBundle

pheal/pheal wrapper/factory bundle for use with Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Audrius Karabanovas

eve online pheal eve api

02/12 2012

0.1.1

0.1.1.0 http://github.com/shivas/PhealBundle

pheal/pheal wrapper/factory bundle for use with Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Audrius Karabanovas

eve online pheal eve api

02/12 2012

0.1.0

0.1.0.0 http://github.com/shivas/PhealBundle

pheal/pheal wrapper/factory bundle for use with Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Audrius Karabanovas

eve online pheal eve api