Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Build Status

Get code from GitHub:

$ git clone git://github.com/fruit/php-extension-sm.git
$ cd php-extension-sm
$ phpize
$ ./configure --with-sm
$ make
# make install

Update php.ini file

Than add new line to the php.ini and restart Apache/PHP-FPM

extension=sm.so

Using

<?php

  # prints: 0.66666666666667
  print strike_match("Hello, World!", "hello world");

Dependencies

Version PHP 5.2, 5.3, 5.4, 5.5, 5.6

Plans

Version PHP 7.0 (unlikely)

About

Dice's coefficient algorithm

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages