PHPackages                             ildrm/php-jsfuck - 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. ildrm/php-jsfuck

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

ildrm/php-jsfuck
================

A PHP implementation of JSFuck encoding.

v1.0.0(1y ago)25MITPHP

Since Mar 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ildrm/php-jsfuck)[ Packagist](https://packagist.org/packages/ildrm/php-jsfuck)[ RSS](/packages/ildrm-php-jsfuck/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

JSFuckEncoder
=============

[](#jsfuckencoder)

JSFuckEncoder is a pure PHP implementation for obfuscating JavaScript code using a methodology inspired by [JSFuck](https://jsfuck.com/). This project encodes any JavaScript code into an obfuscated format that primarily uses the characters `[]()!+` along with constructed expressions, making the original script harder to read.

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

[](#installation)

You can install this package via Composer by running the following command:

```
composer require ildrm/php-jsfuck

```

Usage
-----

[](#usage)

After installation, you can use the package as shown below:

```
