mmanda/laravel-obfs
Larablocks Analysis
mmanda/laravel-obfs works with Laravel 7 to 11 (latest release v1.2.9, Sep 27, 2026), all past end of life (the last on Mar 12, 2026): no more fixes, even for security.
Recommendation checks
Use with careUse with care: meets 1 of 4 checks.
- Supports only Laravel 7 to 11, past end of life since Mar 12, 2026
- Released in the last 12 months (Sep 27, 2026)
- 39 downloads a month (needs 10,000)
- 15 GitHub stars (needs 100)
State
Actively maintained- Last stable release: Sep 27, 2026.
- 6 releases in the last 12 months.
- First released: Jul 14, 2024.
- Monthly downloads: 39.
- 1 open issue on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 3, 2026.
| Install | |
|---|---|
composer require mmanda/laravel-obfs |
|
| Latest Version: | v1.2.9 |
| PHP: | ^7.1|^8.0 |
| Laravel: | 7 – 11 |
| License: | MIT |
| Last Updated: | Sep 27, 2026 |
| Links: | GitHub · Packagist |
Laravel Obfuscation Package 🔒
A Simple wrapper for YakPro-po obfuscator for Laravel Framework. Due Accreditation : YakPro-po 🛩️
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
composer require mmanda/laravel-obfs
If you get dependency conflicts with your existing packages, use:
composer require mmanda/laravel-obfs -W
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
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
Work in progress !! Contributions are welcome! Please read the contribution guidelines before submitting a pull request.
License
This package is licensed under the MIT License. See the ,LICENSE file for more information.
Author
Emmanuel Mmanda
Email: luneya17@gmail.com
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.2.9 | ^7.1| | ^7.0| | MIT | |
| v1.2.8 | ^7.1| | ^7.0| | MIT | |
| v1.2.7 | ^7.1| | ^7.0| | MIT | |
| v1.2.6 | ^7.1| | ^7.0| | MIT | |
| v1.2.5 | ^7.1| | ^7.0| | MIT | |
| v1.2.1 | ^7.1| | ^7.0| | MIT | |
| v1.2.0 | ^7.1| | ^7.0| | MIT | |
| v1.1.4 | ^7.1| | MIT | ||
| v1.1.3 | ^7.1| | MIT | ||
| v1.1.2 | ^7.1| | MIT | ||
| v1.1.1 | ^7.1| | MIT | ||
| v1.1.0 | ^7.1| | MIT | ||
| v1.0.5 | ^7.1| | ^7.0| | MIT | |
| v1.0.4 | ^7.1| | MIT | ||
| v1.0.2 | ^7.1| | ^7.0| | MIT | |
| v1.0.1 | ^7.1| | ^7.0| | MIT | |
| v1.0.0 | ^7.1| | ^7.0| | MIT |