PHPackages                             juy/character-solver - 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. juy/character-solver

ActiveLaravel-package

juy/character-solver
====================

Solve some character issue on source code

1.0.10(9y ago)1211[1 issues](https://github.com/juy/CharacterSolver/issues)MITPHPPHP &gt;=5.5.9

Since Jan 8Pushed 6y ago1 watchersCompare

[ Source](https://github.com/juy/CharacterSolver)[ Packagist](https://packagist.org/packages/juy/character-solver)[ Docs](https://github.com/juy/CharacterSolver)[ RSS](/packages/juy-character-solver/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (13)Used By (0)

Character Solver Laravel Package
================================

[](#character-solver-laravel-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/767ac2f1650e19e79c38a75160f2aba118453ddf91960b2a9910abb212cfd7e2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a75792f6368617261637465722d736f6c7665722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/juy/character-solver) [![Software License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE.txt)

> Character Solver is global middleware solution (convert back HTML Entity encoding) for some characters.

Default character replacement list *(Can be changed through the configuration file)*:

```
&ccedil; ->  ç
&Ccedil; ->  Ç
&ouml;   ->  ö
&Ouml;   ->  Ö
&uuml;   ->  ü
&Uuml;   ->  Ü

```

---

### Supported/Tested Laravel versions

[](#supportedtested-laravel-versions)

- Laravel **5.1** | **5.2** | **5.3**

### Requirements

[](#requirements)

- Laravel &gt;= 5.1 : Laravel 5.1 or above.
- PHP &gt;= 5.5.9 : PHP 5.5.9 or above on your machine.

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

[](#installation)

### Step:1 Install through composer

[](#step1-install-through-composer)

#### Install

[](#install)

```
➜ composer require juy/character-solver

```

> #### Manual install (alternative)
>
> [](#manual-install-alternative)

> Simply add the following to the "require" section of your composer.json file, and run `composer update` command.

> ```
> "juy/character-solver": "^1.0"
> ```

#### Remove

[](#remove)

```
➜ composer remove juy/character-solver

```

### Step 2: Add the service provider

[](#step-2-add-the-service-provider)

Append this line to your **service providers** array in `config/app.php`.

```
Juy\CharacterSolver\ServiceProvider::class,
```

### Step 3: Publish config

[](#step-3-publish-config)

If you need change or add different character, you can publish a config file.

```
➜ php artisan vendor:publish --provider="Juy\CharacterSolver\ServiceProvider" --tag="config" --force

```

### Config overview

[](#config-overview)

You can modify config as you wish.

```
return [

    'enabled' => true,

    // Default character replacement
    'translate' => [
        '&ccedil;' => 'ç',
        '&Ccedil;' => 'Ç',
        '&ouml;'   => 'ö',
        '&Ouml;'   => 'Ö',
        '&uuml;'   => 'ü',
        '&Uuml;'   => 'Ü',
    ]
];

```

Usage
-----

[](#usage)

Package run automatically with a global middleware. You can enable/disable it on `config/charactersolver.php` config file, after publish package config.

### Advanced usage

[](#advanced-usage)

If you want to use middleware at Kernel file:

1. Publish package config and disable it on `config/charactersolver.php` config file (`'enabled' => false,`).
2. Add the following code to `app/Http/Kernel.php` file, in web middleware groups.

```
\Juy\CharacterSolver\Middleware\CharacterSolver::class,

```

---

### License

[](#license)

This project is open-sourced software licensed under the [MIT License](LICENSE.txt).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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

Every ~35 days

Recently: every ~65 days

Total

11

Last Release

3423d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7eac408a2127af4440cf731d2358f23ef551a86f3c09263a1ad3e1a0de841edf?d=identicon)[angelside](/maintainers/angelside)

---

Top Contributors

[![angelside](https://avatars.githubusercontent.com/u/7515?v=4)](https://github.com/angelside "angelside (66 commits)")

---

Tags

laravelmiddlewarepackagemiddlewarelaravelcharacter fix

### Embed Badge

![Health badge](/badges/juy-character-solver/health.svg)

```
[![Health](https://phpackages.com/badges/juy-character-solver/health.svg)](https://phpackages.com/packages/juy-character-solver)
```

###  Alternatives

[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[api-platform/laravel

API Platform support for Laravel

59126.4k5](/packages/api-platform-laravel)[kerigard/laravel-lang-ru

Ru lang for Laravel

2116.8k](/packages/kerigard-laravel-lang-ru)

PHPackages © 2026

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