WordKit is an open-source API for spellchecking and word translation, using MySQL database as dictionary.
- Create Lumen project using Composer
composer create-project --prefer-dist laravel/lumen blog
-
Unarchive WordKit to your newly created project.
-
Create create a copy of .env.example, and name it as .env
-
Change .env settings to yours
Don't forget to change APP_KEY and WORDKIT_KEY
| Type | URL | Method | POST Parameters |
|---|---|---|---|
| Public | /translate/lang_from/lang_to/word | GET | None |
| Public | /spellcheck/lang/word | GET | None |
| Private | /admin/add | POST | word,lang,key |
| Private | /admin/remove | POST | word,lang,key |