PHPackages                             mervick/aaencoder - 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. mervick/aaencoder

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

mervick/aaencoder
=================

Encode/decode any JavaScript program to/from Japanese style emoticons

v1.1.0(10y ago)411.6k18[1 issues](https://github.com/mervick/php-aaencoder/issues)MITPHPPHP &gt;=5.4.0

Since Nov 20Pushed 3y ago2 watchersCompare

[ Source](https://github.com/mervick/php-aaencoder)[ Packagist](https://packagist.org/packages/mervick/aaencoder)[ RSS](/packages/mervick-aaencoder/feed)WikiDiscussions master Synced today

READMEChangelog (7)DependenciesVersions (8)Used By (0)

[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct.svg)](https://stand-with-ukraine.pp.ua/)

PHP AAEncoder and AADecoder
===========================

[](#php-aaencoder-and-aadecoder)

`AAEncoder` - Encode any JavaScript program to [Japanese style emoticons](http://utf-8.jp/public/aaencode.html) (^\_^).
`AADecoder` - Decode encoded as aaencode JavaScript program. (ﾟДﾟ) \['\_'\]

Installation via Composer
-------------------------

[](#installation-via-composer)

```
composer require "mervick/aaencoder"
```

Usage
-----

[](#usage)

```
// aaencode:
echo AAEncoder::encode(file_get_contents('/path/to/file.js'));
// Also, you can customize encoding level, may be >= 0, default 0.
// Be careful, the greater the level of encryption the larger output file.
// It is not recommended to use more than 3
echo AAEncoder::encode(file_get_contents('/path/to/file.js'), 2);

// aadecode:
echo AADecoder::decode(file_get_contents('/path/to/encoded.js'));
```

Requirements
------------

[](#requirements)

PHP &gt;= 5.4

License
-------

[](#license)

MIT

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

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 ~23 days

Recently: every ~30 days

Total

7

Last Release

3734d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

javascriptaaencodeaadecodeaaencoderaadecoder

### Embed Badge

![Health badge](/badges/mervick-aaencoder/health.svg)

```
[![Health](https://phpackages.com/badges/mervick-aaencoder/health.svg)](https://phpackages.com/packages/mervick-aaencoder)
```

###  Alternatives

[tightenco/ziggy

Use your Laravel named routes in JavaScript.

4.3k48.3M326](/packages/tightenco-ziggy)[matthiasmullie/minify

CSS &amp; JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.

2.0k33.1M462](/packages/matthiasmullie-minify)[tedivm/jshrink

Javascript Minifier built in PHP

76339.9M179](/packages/tedivm-jshrink)[symfony/ux-turbo

Hotwire Turbo integration for Symfony

3928.2M75](/packages/symfony-ux-turbo)[dkcwd/dkcwd-zf2-munee

Zend Framework 2 module leveraging 'munee' an asset optimisation library developed by Cody Lundquist. You can find munee at http://github.com/meenie/munee

102.1k](/packages/dkcwd-dkcwd-zf2-munee)

PHPackages © 2026

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