PHPackages                             fecony/yandex-speller - 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. [API Development](/categories/api)
4. /
5. fecony/yandex-speller

AbandonedArchivedLibrary[API Development](/categories/api)

fecony/yandex-speller
=====================

Laravel Wrapper for Yandex Speller API

v1.0.0(5y ago)018MITPHPPHP &gt;=7.3

Since Dec 23Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Fecony/yandex-speller)[ Packagist](https://packagist.org/packages/fecony/yandex-speller)[ Docs](https://github.com/fecony/yandex-speller)[ RSS](/packages/fecony-yandex-speller/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (6)Versions (2)Used By (0)

Laravel Yandex Speller API Wrapper
==================================

[](#laravel-yandex-speller-api-wrapper)

[![Latest Version on Packagist](https://camo.githubusercontent.com/aa3c3433da716ea4955bce20afc88e2bba32dcf1fda3458a8f3a7c8e8f70bada/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6665636f6e792f79616e6465782d7370656c6c65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fecony/yandex-speller)[![Total Downloads](https://camo.githubusercontent.com/7307551418aa64e80ba2582d1c83a9d9828336a3be77719255dc568236deb305/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6665636f6e792f79616e6465782d7370656c6c65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fecony/yandex-speller)[![Build Status](https://camo.githubusercontent.com/ed1cc94032da195d0625cd0933139b3878f98d790fde5cb36fada220499e2e09/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4665636f6e792f79616e6465782d7370656c6c65722f6d61696e3f7374796c653d666c61742d737175617265)](https://www.travis-ci.com/Fecony/yandex-speller)[![Codecov](https://camo.githubusercontent.com/872fe8d635b5069e2a5427a877c17b3dad95c4bc19c05af8a829970f4c0f0b91/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6665636f6e792f79616e6465782d7370656c6c65723f7374796c653d666c61742d73717561726526746f6b656e3d4e585437485737573642)](https://codecov.io/gh/Fecony/yandex-speller)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/78f7f75f991159008e8acd50f894e7f704976ad07c1500576c454e7aff7c2965/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f6665636f6e792f79616e6465782d7370656c6c65722f6d61696e3f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Fecony/yandex-speller/?branch=main)[![Style CI](https://camo.githubusercontent.com/77fed02486389675f0a2589304f84c5e676eb2988cc1b0e0482b2dae9587aaa7/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3332323431323134342f736869656c64)](https://github.styleci.io/repos/322412144/shield)

Simple Laravel Yandex Speller API response wrapper.

> Unfortunately Yandex Speller is not supported officially now 🙁
>
> Basic spellchecking is working, but options have no effect on API work...

---

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

[](#installation)

You can install the package via composer:

```
composer require fecony/yandex-speller
```

You can publish the package config file

```
php artisan vendor:publish --tag=yandex-speller
```

Basic Usage
-----------

[](#basic-usage)

There are to ways of utilizing the package: using the facade, or using the helper function. On either way you will get the same result, it is totally up to you.

#### Facade:

[](#facade)

```
use Fecony\YandexSpeller\Facade\YandexSpeller;

...

public function index()
{
    $result = YandexSpeller::check('Helllo world!');
    // Do whatever you want with results
    // $this->someService->swapWords($result->getData()->data);
}
```

#### Helper function:

[](#helper-function)

```
public function index()
{
    $result = speller('Helllo world!');
    // Do whatever you want with results
    // $this->someService->swapWords($result->getData()->data);
}
```

Advanced usage
--------------

[](#advanced-usage)

Both `YandexSpeller::check()` method and `speller()` helper accept four parameters:

- `string | array $text` text sting or array of strings to check spelling.
- `string | null $lang` used to rewrite config defined $lang parameter, comma separated languages, optional.
- `int | null $options` used to rewrite config defined $options parameter, sum of possible options, optional.
- `string | null $format` used to rewrite config defined $format parameter, 'plain' or 'html', optional.

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

[](#configuration)

If you need to customize the default config, you can do it directly on the `yandex-speller.php` configuration file.

optiondefaultdescriptionlang'ru,en'This option specifies the default languages of the text to be checked. The parameter value should be comma separated.format'plain'This option specifies the default format of the text to be checked.options0This option specifies the behaviour of the API. The parameter value is the sum of the option values. Refer to: Testing
-------

[](#testing)

```
composer test
```

Roadmap
-------

[](#roadmap)

This package is basic wrapper to make call to Yandex Speller API, it is possible to use any parameters that Yandex Speller is supporting for now. New Features may be made in case you find interesting use cases.

For example:

- Wrap result to use in other methods.
- Return text with suggestions applied.
- etc...

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Ricards Tagils](https://github.com/fecony)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

1963d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/16947509d3a48b379cbc43898cbc87b9839dcbc01a6d1ded5f3581251be7ddf1?d=identicon)[Fecony](/maintainers/Fecony)

---

Top Contributors

[![fecony](https://avatars.githubusercontent.com/u/36774784?v=4)](https://github.com/fecony "fecony (9 commits)")

---

Tags

apilaravelspellcheckspellerfeconyyandex-speller

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fecony-yandex-speller/health.svg)

```
[![Health](https://phpackages.com/badges/fecony-yandex-speller/health.svg)](https://phpackages.com/packages/fecony-yandex-speller)
```

###  Alternatives

[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[ardakilic/mutlucell

Mutlucell SMS API wrapper for sending sms text messages for Laravel

457.3k](/packages/ardakilic-mutlucell)[dariusiii/tmdb-laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the wtfzdotnet/php-tmdb-api library.

1821.1k](/packages/dariusiii-tmdb-laravel)[gufy/whmcs

WHMCS API for Laravel 5

211.7k](/packages/gufy-whmcs)

PHPackages © 2026

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