2017 © Pedro Peláez
 

library liquidmetal-php

LiquidMetal is a PHP port of liquidmetal.js, a Quicksilver-inspiried scoring algorithm.

image

kjantzer/liquidmetal-php

LiquidMetal is a PHP port of liquidmetal.js, a Quicksilver-inspiried scoring algorithm.

  • Wednesday, March 4, 2015
  • by jarodhayes
  • Repository
  • 2 Watchers
  • 1 Stars
  • 220 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 2 % Grown

The README.md

LiquidMetal

This is a PHP port of rmm5t/liquidmetal:, (*1)

“A mimetic poly-alloy of the Quicksilver scoring algorithm, essentially LiquidMetal. </Schwarzenegger Voice>”, (*2)

Usage

If not using Composer's autoloader, include the library:, (*3)

include 'LiquidMetal.php';

Score any string against an abbreviation:, (*4)

LiquidMetal::score("FooBar",  "foo");   //=> 0.950
LiquidMetal::score("FooBar",  "fb");    //=> 0.917
LiquidMetal::score("Foo Bar", "fb");    //=> 0.929
LiquidMetal::score("Foo Bar", "baz");   //=> 0.0
LiquidMetal::score("Foo Bar", "");      //=> 0.8

All scores fall between a range of 0.0 (no match) to 1.0 (perfect match)., (*5)

The Versions

04/03 2015

dev-master

9999999-dev

LiquidMetal is a PHP port of liquidmetal.js, a Quicksilver-inspiried scoring algorithm.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Ryan McGeary
by Kevin Jantzer

04/03 2015

v1.3.0.1

1.3.0.1

LiquidMetal is a PHP port of liquidmetal.js, a Quicksilver-inspiried scoring algorithm.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Ryan McGeary
by Kevin Jantzer