2017 © Pedro Peláez
 

library dictionary

PHP Dictionary library

image

sinergi/dictionary

PHP Dictionary library

  • Monday, May 11, 2015
  • by sinergi
  • Repository
  • 5 Watchers
  • 16 Stars
  • 2,127 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 16 Versions
  • 4 % Grown

The README.md

Dictionary

Build Status Latest Stable Version Total Downloads License, (*1)

Localization and text management library for PHP., (*2)

Requirements

This library uses PHP 5.4+., (*3)

Installation

It is recommended that you install the Dictionary library through composer. To do so, add the following lines to your composer.json file., (*4)

{
    "require": {
       "sinergi/dictionary": "dev-master"
    }
}

Usage

Setup the Dictionary class with the path to your text files:, (*5)

use Sinergi\Dictionary\Dictionary;

$language = 'en';
$directory = __DIR__ . "/examples";

$dictionary = new Dictionary(
    $language,
    $directory
);

You can then use the dictionary like this:, (*6)

$dictionary['example']['title'];

Examples

See more examples in the examples folder., (*7)

Example of a dictionary file:, (*8)

return [
    'title' => "This is an example"
];

The Versions

11/05 2015

dev-master

9999999-dev https://github.com/sinergi/dictionary

PHP Dictionary library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

text dictionary sinergi

11/05 2015

dev-develop

dev-develop https://github.com/sinergi/dictionary

PHP Dictionary library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

text dictionary sinergi

11/05 2015

0.4.0

0.4.0.0 https://github.com/sinergi/dictionary

PHP Dictionary library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

text dictionary sinergi

04/03 2015

0.3.0

0.3.0.0 https://github.com/sinergi/dictionary

PHP Dictionary library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

text dictionary sinergi

12/12 2014

0.2.5

0.2.5.0 https://github.com/sinergi/dictionary

PHP Dictionary library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

text dictionary sinergi

12/12 2014

0.2.4

0.2.4.0 https://github.com/sinergi/dictionary

PHP Dictionary library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

text dictionary sinergi

11/12 2014

0.2.3

0.2.3.0 https://github.com/sinergi/dictionary

PHP Dictionary library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

text dictionary sinergi

15/09 2014

0.2.2

0.2.2.0

PHP Dictionary library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

text dictionary sinergi

15/09 2014

0.2.1

0.2.1.0

PHP Dictionary library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

text dictionary sinergi

05/08 2014

0.2.0

0.2.0.0

PHP Dictionary library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

text dictionary sinergi

19/06 2014

0.1.5

0.1.5.0

PHP Dictionary library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

text dictionary sinergi

17/06 2014

0.1.4

0.1.4.0

PHP Dictionary library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

text dictionary sinergi

17/06 2014

0.1.3

0.1.3.0

PHP Dictionary library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

text dictionary sinergi

08/06 2014

0.1.2

0.1.2.0

PHP Dictionary library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

text dictionary sinergi

25/04 2014

0.1.1

0.1.1.0

PHP Dictionary library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

text dictionary sinergi

01/04 2014

0.1.0

0.1.0.0

PHP Dictionary library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

text dictionary sinergi