定制 mmanda/laravel-obfs 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mmanda/laravel-obfs

最新稳定版本:v1.2.8

Composer 安装命令:

composer require mmanda/laravel-obfs

包简介

A Simple wrapper for YakPro-po obfuscator for Laravel Framework

README 文档

README

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

统计信息

  • 总下载量: 624
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-07-15