PHPackages                             steno983/email\_hint - 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. steno983/email\_hint

ActiveLibrary

steno983/email\_hint
====================

hint email

00PHP

Since Jan 25Pushed 2y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

EmailHint
=========

[](#emailhint)

EmailHint is a package designed for Laravel that provides correction suggestions for email addresses entered with typing errors. It uses the Levenshtein algorithm to determine the similarity between the entered email and a set of common email domains, suggesting appropriate corrections.

Installation
------------

[](#installation)

To install the package, use Composer:

```
composer require steno983/emailhint
```

After installing the package, you can publish the configuration file (if necessary) with:

```
php artisan vendor:publish --provider="Steno983\EmailHint\EmailHintServiceProvider"
```

Configuration
-------------

[](#configuration)

After publishing the configuration file, you can modify the settings in the `config/emailhint.php` file. Here you can define the list of common email domains and set other configurations such as the Levenshtein threshold and domain to exclude from the check process.

Usage
-----

[](#usage)

To use EmailHint, you can rely on the `EmailHintService` service. Here's an example:

```
use Steno983\EmailHint\Services\EmailHintService;

$email = 'example@gmial.com';
$suggestedEmail = EmailHintService::hint($email);

if ($suggestedEmail) {
    echo "Did you mean: $suggestedEmail";
} else {
    echo "No suggestion available.";
}
```

Features
--------

[](#features)

- Suggestions for correcting common errors in email addresses.
- Customization of common email domains through the configuration file.
- Customization of the tolerance level for the Levenshtein distance.

Contributing
------------

[](#contributing)

Contributions to the package are welcome! Please follow the contribution guidelines:

- Fork the repository.
- Create a new branch for each feature or improvement.
- Submit a pull request with a detailed description.

License
-------

[](#license)

The EmailHint package is released under the [MIT License](LICENSE).

###  Health Score

11

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f5206ef10ac38a0a5c7d5028da4f3d47e03fc3e57922032b0a42130f57c06f3b?d=identicon)[steno983](/maintainers/steno983)

### Embed Badge

![Health badge](/badges/steno983-email-hint/health.svg)

```
[![Health](https://phpackages.com/badges/steno983-email-hint/health.svg)](https://phpackages.com/packages/steno983-email-hint)
```

PHPackages © 2026

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