Rename examples/json.php to examples/php.php. Updated doc. Refactor error messages to be uniform. Check if the logs directory exists, if not, create it within the verbose flag.