diff --git a/README.md b/README.md index 61a4dfd..6ea71f0 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ The goal is to find infected files and fight against kiddies, because to easy to How to install? --- -Simply clone the repository or use `composer require scr34m/php-malware-scanner` to do it. +Simply clone the repository or with composer install globally `composer global require scr34m/php-malware-scanner`. How to use? ----------- diff --git a/composer.json b/composer.json index b9ea7fe..61cd1b8 100644 --- a/composer.json +++ b/composer.json @@ -6,8 +6,10 @@ "license": "GPL-3.0", "homepage": "https://github.com/scr34m/php-malware-scanner", "require": { - "php": ">=5.2.0" + "php": ">=5.2.0", + "scr34m/php-malware-scanner": "@dev" }, "autoload": { - } + }, + "bin": ["scan"] } diff --git a/scan b/scan new file mode 100755 index 0000000..5b49a48 --- /dev/null +++ b/scan @@ -0,0 +1,4 @@ +#!/usr/bin/env php +