kleiner/soundex-fr-bundle

计算字符串的法国 Soundex。

安装次数: 15,559

依赖关系: 1

建议者: 0

安全: 0

星标: 5

关注者: 2

分支: 1

公开问题: 0

类型:symfony-bundle

dev-master 2016-02-27 10:31 UTC

This package is not auto-updated.

Last update: 2024-09-14 17:53:42 UTC


README

该包为您的 Symfony2 项目提供 Soundex FR 集成。它将自动注册新的 soundex_fr 服务。原始 Soundex FR 由 Édouard BERGÉ 提供。

安装

使用 composer 需求包

composer require keller/soundex-fr-bundle

将包添加到您的应用程序内核

// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Keller\SoundexFrBundle\KellerSoundexFrBundle(),
        // ...
    );
}

用法

soundex_fr 服务非常简单易用

$this->get('soundex_fr')->phonetique('Éléphant'); // ELEFAN

许可证

此算法及其 PHP 应用程序均以许可证

    Creative Commons Paternité - Pas d'Utilisation Commerciale 2.0
        http://creativecommons.org/licenses/by-nc/2.0/fr/

您有权

  • 复制、分发和向公众传播此创作
  • 修改此创作

以下条件

  • 署名权。您必须按照作品作者或授予您此授权的权利人的方式引用原作者的姓名(但不得暗示他们支持或批准您的作品使用)。作者要求:引用 "Édouard BERGÉ" 和/或 "http://www.roudoudou.com"
  • 禁止商业用途。除非作者授权,否则您无权将此创作用于商业目的。