PHPackages                             danielme85/laravel-forceutf8 - 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. danielme85/laravel-forceutf8

ActiveLaravel-plugin[Utility &amp; Helpers](/categories/utility)

danielme85/laravel-forceutf8
============================

Simple Laravel 5 service class for neitanod's forceutf8. https://github.com/neitanod/forceutf8

116.4k↓46.9%1PHP

Since Apr 16Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-forceutf8
=================

[](#laravel-forceutf8)

Simple Laravel 5 service class for neitanod's forceutf8:

### Install

[](#install)

Add to composer.json

```
"require": {
        "danielme85/laravel-forceutf8": "dev-master",
        ....
}

```

**If you use Laravel 5.5+ you could skip the next step as Composer/Laravel Auto-discovery has been enabled for this package.**

#### Laravel 5.x

[](#laravel-5x)

Add to your config/app.php under Service Providers

```
//Service Provider
danielme85\ForceUTF8\ForceUTF8ServiceProvider::class,
//Facade
'Encoding'  => danielme85\ForceUTF8\Encoding::class,

```

#### Lumen 5.x

[](#lumen-5x)

Add to your boostrap/app.php file

```
$app->register(danielme85\ForceUTF8\ForceUTF8ServiceProvider::class);
...
$app->configure('app');
...
class_alias('danielme85\ForceUTF8\Encoding', 'Encoding');
$app->withFacades();

```

### Usage

[](#usage)

```
use danielme85\ForceUTF8\Encoding;
...
$newstring = Encoding::toUTF8($string);

```

Chekout neitanod's repo for more information on how to use the Encoding class:

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2694ca48bc146bb5f69b3ac1f31f8f265b133c6d5390f04bc927ad9710d2adf7?d=identicon)[danielme85](/maintainers/danielme85)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/danielme85-laravel-forceutf8/health.svg)

```
[![Health](https://phpackages.com/badges/danielme85-laravel-forceutf8/health.svg)](https://phpackages.com/packages/danielme85-laravel-forceutf8)
```

###  Alternatives

[nitotm/efficient-language-detector

Fast and accurate natural language detection. Detector written in PHP. Nito-ELD, ELD.

59252.9k6](/packages/nitotm-efficient-language-detector)[savannabits/primevue-datatables

Easy Laravel Server-Side implementation of PrimeVue Datatables

337.7k1](/packages/savannabits-primevue-datatables)

PHPackages © 2026

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