PHPackages                             vinnyfs89/r-enc - 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. vinnyfs89/r-enc

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

vinnyfs89/r-enc
===============

Simple way to get the right encoding that you want in PHP codes.

4968PHP

Since Feb 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/vinnyfs89/r-enc)[ Packagist](https://packagist.org/packages/vinnyfs89/r-enc)[ RSS](/packages/vinnyfs89-r-enc/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP RightEncoding
=================

[](#php-rightencoding)

\##About

The RightEncoding component provides a simple and effective way of convert your PHP strings to right encoding.

The "r-enc" function represents the RightEncoding component. Using the function "r-enc" you can set the input string and this function will return the string converted for you. You also may set the input Charset and output charset when call the "r-enc" function.

\##Install

you may clone this project directly or set in your composer.json, like this:

```
  "require-dev": {
    "vinnyfs89/r-enc": "dev-master"
  },
```

\##Usage

Use the "r-enc" function is so easy! Just like this:

```
$newString = rEnc($oldString)
```

Example:
--------

[](#example)

Below we have an example of the file "example.php" executed.

[![alt !](https://github.com/vinnyfs89/rightEncoding/raw/master/example/files/screenshot.png)](https://github.com/vinnyfs89/rightEncoding/blob/master/example/files/screenshot.png)

Yeah!
-----

[](#yeah)

I Hope you enjoy! :D

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

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/7d4cf5c2e872f0708018598e79c47a77a24e04a6d74fdf8f654df96247045269?d=identicon)[vinnyfs89](/maintainers/vinnyfs89)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/vinnyfs89-r-enc/health.svg)

```
[![Health](https://phpackages.com/badges/vinnyfs89-r-enc/health.svg)](https://phpackages.com/packages/vinnyfs89-r-enc)
```

###  Alternatives

[laracasts/utilities

Transform your PHP to JavaScript

2.2k10.3M54](/packages/laracasts-utilities)[spatie/ssl-certificate

A class to easily query the properties of an ssl certificate

7415.0M38](/packages/spatie-ssl-certificate)[wordpress/php-mcp-schema

PHP DTOs for the Model Context Protocol (MCP) specification

1345.4k1](/packages/wordpress-php-mcp-schema)

PHPackages © 2026

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