ne0h12/decliner
Composer 安装命令:
composer require ne0h12/decliner
包简介
Decliner of words
README 文档
README
#Склонение слов по числительному
$apples = ['Akane', 'Anna', 'Apollo', 'Brina']; $decline = Decliner\Decliner::on(count($apples), new \Decliner\Declinable\Word('яблоко', 'яблока', 'яблок')); echo sprintf('В корзине %s', $decline); // В корзине 4 яблока
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-18