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-04-09 01:18:36 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);