From c878d4f4d8adb1521cbdc91653063a12d23f29da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bronis=C5=82aw=20Bia=C5=82ek?= Date: Tue, 5 Sep 2017 16:08:36 +0200 Subject: [PATCH] Create README.md --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..fa1ea27 --- /dev/null +++ b/README.md @@ -0,0 +1,20 @@ +# code-complexity + +Class for check code complexity score of php code. + +## Install + +``` +composer require bronek89/code-complexity +``` + +## Usage + +```php +calculate(file_get_contents('file.php')); + +echo "Code Complexity of file file.php is $complexityScore" +```