e96/yii-restclient

Rest client for E96 projects

1.1.0 2015-12-08 11:59 UTC

This package is not auto-updated.

Last update: 2024-10-26 18:59:51 UTC


README

Composer

{
    "require" : {
        "e96/yii-restclient" : "~1.1"
    },
    "repositories" : [
        {
            "type" : "vcs",
            "url" : "git@github.com:holycheater/yii-curl.git"
        },
        {
            "type" : "vcs",
            "url" : "git@github.com:E96/yii-restclient.git"
        }
    ]
}

App config

<?php
return [
    'components' => [
        'restSorcery' => [
            'class' => 'RestClient',
            'baseUrl' => '<api_url>',
        ],
    ]
]