lib/Configuration.php
public function getPackageVersion()
    {   
        $package_config  = file_get_contents(dirname(__FILE__)."./../composer.json");

        if($package_config){
            $package_config_object = json_decode($package_config);        
            if(is_object($package_config_object) && isset($package_config_object->version)){
                return $package_config_object->version;
            }
        }
        return null;
    }
public function getPackageVersion()
    {   
        $package_config  = file_get_contents(dirname(__FILE__)."./../composer.json");

        if($package_config){
            $package_config_object = json_decode($package_config);        
            if(is_object($package_config_object) && isset($package_config_object->version)){
                return $package_config_object->version;
            }
        }
        return null;
    }
Retrieves the pacakge version

@return string