2017 © Pedro Peláez
 

library yiirest

Yii Restful API WebApplication

image

isuvorov/yiirest

Yii Restful API WebApplication

  • Tuesday, September 9, 2014
  • by isuvorov
  • Repository
  • 2 Watchers
  • 1 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yiirest

Yii Restful API WebApplication, (*1)

Yii::createApplication('RestApplication', $config)->run();, (*2)

'components' => array( // Аутентификация через соцсети 'loid' => array( 'class' => '\loid', ), 'eauth' => array( 'class' => '\EAuth', 'popup' => true, // Use the popup window instead of redirecting. 'cache' => false, // Cache component name or false to disable cache. Defaults to 'cache'. 'cacheExpire' => 0, // Cache lifetime. Defaults to 0 - means unlimited. 'services' => array( 'twitter' => array( // register your app here: https://dev.twitter.com/apps/new 'class' => 'TwitterOAuthService', 'key' => '....', 'secret' => '..', ), 'facebook' => array( // register your app here: https://developers.facebook.com/apps/ 'class' => 'FacebookOAuthService', 'client_id' => '...', 'client_secret' => '...', ), 'vkontakte' => array( // register your app here: https://vk.com/editapp?act=create&site=1 'class' => 'VKontakteOAuthService', 'client_id' => '...', 'client_secret' => '...', ), ), ),, (*3)

'urlManager' => array(
    'urlFormat' => 'path',
    'rules' => array_merge(
        require(
            dirname(dirname(__FILE__)) . '/vendor/starship/restfullyii/starship/RestfullYii/config/routes.php'
        ),

        [


        ]
    ),
),

),, (*4)

'aliases' => array( 'RestfullYii' => realpath(dirname(dirname(FILE)) . '/vendor/starship/restfullyii/starship/RestfullYii'), ),, (*5)

The Versions

09/09 2014

dev-master

9999999-dev

Yii Restful API WebApplication

  Sources   Download

The Requires

 

by Avatar isuvorov