You are here PHP Library by Yii PHP library by Yii, is an extension that helps to interact with the API. Requirements Yii 1.0 or above. What this PHP extension can do is to shorten an URL, expand a short URL into the original long form, validate API key, obtain number of clicks for a short URL, and check if a domain uses Pro.