Skip to content

Commit

Permalink
Update composer.json and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
koftikes committed Jan 1, 2017
1 parent 9fe8835 commit 7e1c8bd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
20 changes: 7 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
TransliteratorHelper for Yii 1
==============================
Transliterator Helper for Yii 1.1.*
===============================

TransliteratorHelper transliterates UTF-8 encoded text to US-ASCII
Transliterator Helper transliterates UTF-8 encoded text to US-ASCII

Adapted for PHP 5.3 by koftikes.

Installation
------------
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

> If you are looking for Yii 2.* version please check [its own repository](https://github.com/2amigos/yii2-transliterator-helper)
Either run

```
php composer.phar require 2amigos/transliterator-helper "1.0.*"
composer require sbs/transliterator-helper
```
or add

```json
"2amigos/transliterator-helper": "1.0.*"
"sbs/transliterator-helper": "^1.0"
```

to the require section of your application's `composer.json` file.
Expand All @@ -32,9 +32,3 @@ use dosamigos\yii\helpers\TransliteratorHelper;
// will echo AAAAAAAECEEEEIIIIDNOOOOOUUUUYssaaaaaaaeceeeeiiiidnooooouuuuyy
TransliteratorHelper::process('ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖÙÚÛÜÝßàáâãäåæçèéêëìíîïðñòóôõöùúûüýÿ', '', 'en'));
```


> [![2amigOS!](http://www.gravatar.com/avatar/55363394d72945ff7ed312556ec041e0.png)](http://www.2amigos.us)
<i>web development has never been so fun</i>
[www.2amigos.us](http://www.2amigos.us)

15 changes: 12 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
{
"name": "2amigos/transliterator-helper",
"name": "sbs/transliterator-helper",
"description": "Transliterator Helper for Yii 1.*.",
"keywords": ["helper", "yii"],
"version": "0.0.1",
"version": "0.0.3",
"type": "yii-extension",
"license": "BSD-3-Clause",
"authors": [
{
"name": "Antonio Ramirez",
"email": "[email protected]",
"homepage": "http://2amigos.us"
},
{
"name": "Konstantin Litvinov",
"email": "[email protected]",
"homepage": "http://sbsweb.ru"
}
],
"require": {
"php": ">= 5.3.0",
"yiisoft/yii": "1.1.*"
},
"autoload": {
"psr-0": { "dosamigos\\yii\\helpers\\": "src/" }
}
}
}

0 comments on commit 7e1c8bd

Please sign in to comment.