public static function getLibraryVersion()
    {
        $path = self::getLibraryPath();
        $composer = Json::fileToArray($path . 'composer.json');

        return isset($composer['version']) ? $composer['version'] : '1.1.1';
    }
public static function getLibraryVersion()
    {
        $path = self::getLibraryPath();
        $composer = Json::fileToArray($path . 'composer.json');

        return isset($composer['version']) ? $composer['version'] : '1.1.1';
    }
public static function getLibraryVersion ( ) { $ path = self :: getLibraryPath ( ) ; $ composer = Json :: fileToArray ( $ path . 'composer.json' ) ; return isset ( $ composer [ 'version' ] ) ? $ composer [ 'version' ] : '1.1.1' ; }
Get library version.

@uses \Josantonius\Json\Json::fileToArray()

@return string
Get library version .