2017 © Pedro Peláez
 

cakephp-plugin fuzzy

Fuzzy plugin for CakePHP

image

k1low/fuzzy

Fuzzy plugin for CakePHP

  • Thursday, October 23, 2014
  • by k1LoW
  • Repository
  • 1 Watchers
  • 1 Stars
  • 36 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Fuzzy plugin for CakePHP

Adjust fuzzy input!!, (*1)

Build Status, (*2)

Usage

For example, add the following code in Post.php., (*3)

<?php
   class Post extends AppModel {
       public $actsAs = array('Fuzzy.Adjustable');
       public $convertFields = array(
                                     array('field' => 'title',
                                           'mb_convert_kana' => 'a', // mb_convert_kana()
                                           'encoding' => 'UTF-8'),
                                     array('field' => 'zip',
                                           'postal_split' => array('zip1', 'zip2'), // split zip code
                                           ),
                                     );
   }

And see test case!, (*4)

License

under MIT License, (*5)

AdjustableBehavior::mb_str_replace() original license

@package     mb_str_replace
@version     Release 3
@author      HiNa <hina@bouhime.com>
@copyright   Copyright (C) 2006-2007,2011 by HiNa <hina@bouhime.com>. All rights reserved.
@license     https://github.com/fetus-hina/mb_str_replace/blob/master/LICENSE 2-cause BSD License(Simplified BSD License)
@link        http://fetus.k-hsu.net/document/programming/php/mb_str_replace.html
@link        https://github.com/fetus-hina/mb_str_replace

The Versions

23/10 2014

dev-master

9999999-dev https://github.com/k1LoW/Fuzzy

Fuzzy plugin for CakePHP

  Sources   Download

MIT

The Requires

 

The Development Requires

cakephp format

23/10 2014

2.5.5

2.5.5.0 https://github.com/k1LoW/Fuzzy

Fuzzy plugin for CakePHP

  Sources   Download

MIT

The Requires

 

The Development Requires

cakephp format