PHPackages                             typomedia/enchant - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. typomedia/enchant

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

typomedia/enchant
=================

Enchant Spellchecking Library

1.0.0(3y ago)010MITPHPPHP &gt;=7.2

Since Mar 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/typomedia/enchant)[ Packagist](https://packagist.org/packages/typomedia/enchant)[ RSS](/packages/typomedia-enchant/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Enchant Spellchecking Library
=============================

[](#enchant-spellchecking-library)

Hunspell based spellchecking library for PHP.

The Library is [PSR-1](https://www.php-fig.org/psr/psr-1/), [PSR-4](https://www.php-fig.org/psr/psr-4/), [PSR-12](https://www.php-fig.org/psr/psr-12/) compliant.

Requirements
------------

[](#requirements)

- `>= PHP 7.2`

Dependencies
------------

[](#dependencies)

- ext-enchant

Install
-------

[](#install)

```
composer require typomedia/enchant

```

Usage
-----

[](#usage)

```
use Typomedia\Enchant\Enchant;

$enchant = new Enchant();

$results = $enchant->getSuggestions('en_US', 'experiance');

var_dump($results);

//array(2) {
//  [0]=> string(10) "experience"
//  [1]=> string(10) "Spencerian"
//}
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1159d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5276515?v=4)[Philipp Speck](/maintainers/typomedia)[@typomedia](https://github.com/typomedia)

---

Top Contributors

[![typomedia](https://avatars.githubusercontent.com/u/5276515?v=4)](https://github.com/typomedia "typomedia (3 commits)")

---

Tags

spellcheckphonetichunspellenchant

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/typomedia-enchant/health.svg)

```
[![Health](https://phpackages.com/badges/typomedia-enchant/health.svg)](https://phpackages.com/packages/typomedia-enchant)
```

###  Alternatives

[tigitz/php-spellchecker

Provides an easy way to spellcheck multiple text source by many spellcheckers, directly from PHP

309498.4k1](/packages/tigitz-php-spellchecker)[mekras/php-speller

PHP spell check library

68409.5k](/packages/mekras-php-speller)[voku/phonetic-algorithms

Phonetic-Algorithms for fuzzy searching | PHP

1738.4k1](/packages/voku-phonetic-algorithms)[apen/additional_reports

Useful information in the reports module : xclass, ajax, cliKeys, eID, general status of the system (encoding, DB, php vars...), hooks, compare local and TER extension (diff), used content type, used plugins, ExtDirect... It can really help you during migration or new existing project (to have a global reports of the system).

14157.8k](/packages/apen-additional-reports)[mirazmac/bangla-string

A wannabe all-in-all Bangla String Manupulation Library!

103.0k](/packages/mirazmac-bangla-string)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
