2017 © Pedro Peláez
 

library conversio

A library that provides a simple infrastructure to create your own converters and to perform any conversion you want

image

leodido/conversio

A library that provides a simple infrastructure to create your own converters and to perform any conversion you want

  • Thursday, April 28, 2016
  • by leodido
  • Repository
  • 1 Watchers
  • 1 Stars
  • 8,056 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 5 Versions
  • 1 % Grown

The README.md

Conversio

Latest Stable Version Build Status Coverage, (*1)

Conversio is a PHP library that provides a simple infrastructure to create your own converters and to perform any conversion., (*2)

Explaination

The entry point for conversion is the class Conversion, that acts as a filter (i.e., Zend\Filter\AbstractFilter)., (*3)

To implement a conversion you have to create an adapter (that will be passed to Conversion class) that describes its process., (*4)

The adapters must implement the ConversionAlgorithmInterface interface., (*5)

Furthermore, adapters can have options too, in the form of a Zend\Stdlib\AbstractOptions subclass. Conversio library requires only that the options class of each adapter is called with the name of the adapter followed by the suffix "Options" (e.g., LanguageCodeOptions is the option class of LanguageCode adapter class)., (*6)

In this case your adapter can extend AbstractOptionsEnabledAdapter abstract class to take advantage of its options related methods., (*7)

The OptionsMap class is an utility class aimed to create a option class starting from a configuration hash that describes the options (by name) and their admitted values., (*8)

Installation

Add leodido/conversio to your composer.json., (*9)

{
   "require": {
       "leodido/conversio": "v0.3.0"
   }
}

Usage

WIP, (*10)

Converters

Here will be listed the converters created using Conversio library., (*11)


Analytics, (*12)

The Versions

28/04 2016

dev-develop

dev-develop

A library that provides a simple infrastructure to create your own converters and to perform any conversion you want

  Sources   Download

ISC

The Requires

 

The Development Requires

library converter conversion convert conversions converters

08/01 2015

dev-master

9999999-dev

A library that provides a simple infrastructure to create your own converters and to perform any conversion you want

  Sources   Download

ISC

The Requires

 

The Development Requires

library converter conversion convert conversions converters

08/01 2015

v0.2.0

0.2.0.0

A library that provides a simple infrastructure to create your own converters and to perform any conversion you want

  Sources   Download

ISC

The Requires

 

The Development Requires

library converter conversion convert conversions converters

16/12 2014

v0.1.1

0.1.1.0

A library that provides a simple infrastructure to create your own converters and to perform any conversion you want

  Sources   Download

ISC

The Requires

 

The Development Requires

library converter conversion convert conversions converters

16/12 2014

v0.1.0

0.1.0.0

A library that provides a simple infrastructure to create your own converters and to perform any conversion you want

  Sources   Download

ISC

The Requires

 

The Development Requires

library converter conversion convert conversions converters