PHP code example of webx-ui / module-audit
1. Go to this page and download the library: Download webx-ui/module-audit library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
webx-ui / module-audit example snippets
use WebxUi\Audit\Checks\AuditChecks;
$this->app->make(AuditChecks::class)->register(new MyCheck);
use WebxUi\Audit\Fixes\AuditFixes;
$this->app->make(AuditFixes::class)->register(new MyFix);
bash
php artisan webx:audit:run --quick --fail-on=error