定制 geezify/geezify-php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

geezify/geezify-php

最新稳定版本:v1.2.0

Composer 安装命令:

composer require geezify/geezify-php

包简介

A library to convert ascii number like '3456' to geez number '፴፬፻፶፮' and vise versa.

README 文档

README

Build Status StyleCI Scrutinizer Code Quality Code Coverage Total Downloads Latest Stable Version Latest Unstable Version License

SensioLabsInsight

This package is a library to convert ascii number like '3456' to geez number '፴፬፻፶፮' and vise versa.

Ge'ez (ግዕዝ) is an ancient South Semitic language that originated in Eritrea and the northern region of Ethiopia in the Horn of Africa. It later became the official language of the Kingdom of Aksum and Ethiopian imperial court.

click here to read more.

Prerequisites

geezify requires PHP 5.6 or greater.

Installation

composer require geezify/geezify-php

If you never used composer before, please check out this link before you write any PHP code again!

Usage

<?php

require 'vendor/autoload.php';

use Geezify\Geezify;

$geez = Geezify::create();

echo $geez->toGeez(123) . PHP_EOL;        // ፻፳፫
echo $geez->toGeez(1234) . PHP_EOL;      // ፲፪፻፴፬
echo $geez->toGeez(1986) . PHP_EOL;     // ፲፱፻፹፮
echo $geez->toGeez(1000000) . PHP_EOL; // ፻፼

// or you can even do the reverse

echo $geez->toAscii('፻፳፫') . PHP_EOL;     // 123
echo $geez->toAscii('፲፪፻፴፬') . PHP_EOL;   // 1234
echo $geez->toAscii('፲፱፻፹፮') . PHP_EOL;  // 1986
echo $geez->toAscii('፻፼') . PHP_EOL;    // 1000000

License

Geezify is released under the MIT Licence. See the bundled LICENSE file for details.

统计信息

  • 总下载量: 14.97k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-02-24