PHP Classes

Hunspell FFI PHP Spell Check Library: Check the spelling of words in text using Hunspell

Recommend this page to a friend!
  Info   View files Example   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2021-07-24 (4 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 58 All time: 10,028 This week: 282Up
Version License PHP version Categories
hunspell-ffi 1.0.0BSD License7.4Text processing, Libraries, PHP 7, FFI
Description Author

This package can check the spelling of words in text using Hunspell.

It can call the Hunspell library using the PHP FFI extension to perform several types of operations for checking words in a text. Currently, it can:

- Check if the spelling of a word is correct
- Suggest the correct spelling of a word
- Analyze the spelling of a word
- Generate a stem string for a word
- Etc...

Innovation Award
PHP Programming Innovation award winner
July 2021
Winner


Prize: One official elePHPant Plush Mascott
Hunspell is a powerful library for checking the spelling of words.

Since it is a library written in C++, it can be called from PHP projects using the PHP FFI extension.

This package provides a solution to call the Hunspell library using PHP FFI to access it as a regular PHP class.

Manuel Lemos
Picture of David Tamas
  Performance   Level  
Name: David Tamas <contact>
Classes: 5 packages by
Country: Hungary Hungary
Age: 35
All time rank: 313429 in Hungary Hungary
Week rank: 588 Up8 in Hungary Hungary Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Details

hunspell-ffi

PHP FFI interface for the hunspell spellchecker library and a wrapper library for the easier use.

  Files folder image Files  
File Role Description
Files folder imageheaders (8 files)
Accessible without login Plain text file example.php Example Example script
Plain text file hunspell.php Class Class source
Plain text file hunspellFFI.php Class Class source
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  headers  
File Role Description
  Accessible without login Plain text file atypes.hxx Data Auxiliary data
  Accessible without login Plain text file header-ffi.h Data Auxiliary data
  Accessible without login Plain text file hunspell.h Data Auxiliary data
  Accessible without login Plain text file hunspell.hxx Data Auxiliary data
  Accessible without login Plain text file hunspell2-ffi.h Data Auxiliary data
  Accessible without login Plain text file hunvisapi.h Data Auxiliary data
  Accessible without login Plain text file php-hunspell.h Data Auxiliary data
  Accessible without login Plain text file w_char.hxx Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:58
This week:0
All time:10,028
This week:282Up
For more information send a message to info at phpclasses dot org.