rafreis/accentuation 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

rafreis/accentuation

最新稳定版本:2.0.2

Composer 安装命令:

composer require rafreis/accentuation

包简介

This repository works making a parser in some string replacing the accented characters

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License Build Status

This library works by replacing all accented characters to not accented characters.

To use

Add in your composer.json

"require" : {
    "reisraff/accentuation" : ">=2.0.2"
}

Using in your code

<?php

namespace MyNameSpace;

use Accentuation\Accentuation;

class MyClass
{
    public function test()
    {
        return Accentuation::remove('This string will be returned without accentuation áéíóú');
    }
}

Tests

To run the test suite, you need install the dependencies via composer, then run PHPUnit.

$ composer install
$ phpunit

You can also use the following command to run the most common QA checks, such as php -l, phpcs, phpunit:

$ ant check

统计信息

  • 总下载量: 877
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-30