Skip to content

fruit/php-extension-sm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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)

Releases

No releases published

Packages

No packages published