Improving the documentation coverage.
Added phpdoc to composer require-dev so we can generate docs.