chencha/autosuggest

There is no license information available for the latest version (0.1) of this package.

Library to quickly check and provide suggestions for words

0.1 2014-10-13 10:28 UTC

This package is not auto-updated.

Last update: 2024-12-17 05:22:39 UTC


README

##Autosuggest The package provides an OOP wrapper around pspell to enable suggestions

##Installation

"require": {
    "chencha/autosuggest": "dev-master"
}

Next, update app/config/app.php to include a reference to this package's service provider in the providers array.

'providers' => [
    'Chencha\Autosuggest\AutosuggestServiceProvider'
]

Add the alias

'aliases' => [
    'Autosuggest'=>'Chencha\Autosuggest\Facades\Autosuggest'
]

##Usage

To use the package simply:

Autosuggest::check($word);
Autosuggest::suggestions($word);