PHPackages                             mmanda/laravel-obfs - 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. mmanda/laravel-obfs

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

mmanda/laravel-obfs
===================

A Simple wrapper for YakPro-po obfuscator for Laravel Framework

v1.2.8(6mo ago)137976MITPHPPHP ^7.1|^8.0

Since Jul 14Pushed 6mo ago2 watchersCompare

[ Source](https://github.com/EmmanuelMmanda/laravel-obfs)[ Packagist](https://packagist.org/packages/mmanda/laravel-obfs)[ RSS](/packages/mmanda-laravel-obfs/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (5)Versions (17)Used By (0)

Laravel Obfuscation Package 🔒
=============================

[](#laravel-obfuscation-package-)

A Simple wrapper for YakPro-po obfuscator for Laravel Framework. Due Accreditation : [YakPro-po](https://github.com/pk-fr/yakpro-po) 🛩️

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

[](#requirements)

```
PHP version ^7.1|^8.0

Laravel Framework ^7.0|^8.0|^9.0|^10.0

pmdunggh/yakpro-po ^1.0.7

nikic/php-parser ^4.0
```

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

[](#installation)

```
composer require mmanda/laravel-obfs
```

If you get dependency conflicts with your existing packages, use:

```
composer require mmanda/laravel-obfs -W
```

Publish Assets
--------------

[](#publish-assets)

**NB**: Publish configuration files; otherwise default obfuscation configuration is used. Configuration files are published to `PROJECTROOTDIR/config/mObfs.php` and `PROJECTROOTDIR/config/mObfs.cnf`

```
php artisan vendor:publish --provider=Mmanda\LaravelObfs\Providers\ObfuscateServiceProvider --tag=mConfig
```

`mObfs.cnf`Update the confguration as specified and your level of obfuscation desired.

Usage
-----

[](#usage)

Artisan Commands The package provides several Artisan commands to obfuscate PHP files within your Laravel project.

**Obfuscate Core PHP Files**Obfuscates PHP files in `app` and `routes` (configurable via `config/mObfs.php`):

```
php artisan mObfuscate:all
```

**Obfuscate Specific Directory**To obfuscate PHP files in a specific directory:

```
php artisan mObfuscate:directory {directory}
```

**Obfuscate Specific File**To obfuscate a specific PHP file:

```
php artisan mObfuscate:file {somefile or dir/file}
```

**Backup and Restore**Backup Backups are stored in `PROJECTROOTDIR/M_obfuscate_backups`. You can create backups of obfuscated files with the --backup option:

```
php artisan mObfuscate:all --backup
```

Restore To restore a backed-up file or directory:

```
php artisan mObfuscate:restore {backup_file_name}
```

Contributing
------------

[](#contributing)

Work in progress !! Contributions are welcome! Please read the contribution guidelines before submitting a pull request.

### License

[](#license)

This package is licensed under the MIT License. See the ,[LICENSE](https://github.com/EmmanuelMmanda/laravel-obfs/blob/master/LICENSE) file for more information.

### Author

[](#author)

```
Emmanuel Mmanda
Email: luneya17@gmail.com
```

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance67

Regular maintenance activity

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.1% 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 ~1 days

Total

16

Last Release

193d ago

### Community

Maintainers

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

---

Top Contributors

[![EmmanuelMmanda](https://avatars.githubusercontent.com/u/112853016?v=4)](https://github.com/EmmanuelMmanda "EmmanuelMmanda (32 commits)")[![douglas-fortunatus](https://avatars.githubusercontent.com/u/52981261?v=4)](https://github.com/douglas-fortunatus "douglas-fortunatus (2 commits)")

---

Tags

laravellaravel-obfuscatorobfuscationobfuscatorphpphp-obfuscatorphp-parser

### Embed Badge

![Health badge](/badges/mmanda-laravel-obfs/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M165](/packages/spatie-laravel-health)

PHPackages © 2026

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