Skip to content

Dheia/FrontEnd-phpMussel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

v1: PHP >= 5.4 v2~v3: PHP >= 7.2 License: GPL v2 PRs Welcome

What is phpMussel?

An ideal solution for shared hosting environments, where it's often not possible to utilise or install conventional anti-virus protection solutions, phpMussel is a PHP script designed to detect trojans, viruses, malware and other threats within files uploaded to your system wherever the script is hooked, based on the signatures of ClamAV and others.


What's this repository for?

This provides a front-end administrative facility for phpMussel.

composer require phpmussel/frontend 

Example:

<?php // Path to vendor directory. $Vendor = __DIR__ . DIRECTORY_SEPARATOR . 'vendor'; // Composer's autoloader. require $Vendor . DIRECTORY_SEPARATOR . 'autoload.php'; $Loader = new \phpMussel\Core\Loader(); $Scanner = new \phpMussel\Core\Scanner($Loader); $FrontEnd = new \phpMussel\FrontEnd\FrontEnd($Loader, $Scanner); $Web = new \phpMussel\Web\Web($Loader, $Scanner); $Loader->Events->addHandler('sendMail', new \phpMussel\PHPMailer\Linker($Loader)); // Scans file uploads (execution terminates here if the scan finds anything). $Web->scan(); // Fixes possible corrupted file upload names (Warning: modifies the content of $_FILES). $Web->demojibakefier(); // Load the front-end. $FrontEnd->view(); // Cleanup. unset($Web, $FrontEnd, $Scanner, $Loader);

Screenshot: Screenshot


Documentation:

See also:


Last Updated: 7 October 2022 (2022.10.07).

About

phpMussel front-end (dedicated Composer version).

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 53.9%
  • CSS 33.0%
  • HTML 13.1%