承接 reisraff/accentuation 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

reisraff/accentuation

最新稳定版本:2.0.2

Composer 安装命令:

composer require reisraff/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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-02-13