cURL wrapper for yii2 framework