https://github.com/chekun/ucenter-laravel
ucenter bundle for laravel
https://github.com/chekun/ucenter-laravel
Last synced: about 1 year ago
JSON representation
ucenter bundle for laravel
- Host: GitHub
- URL: https://github.com/chekun/ucenter-laravel
- Owner: chekun
- Created: 2012-10-08T04:48:01.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-10-08T05:17:03.000Z (over 13 years ago)
- Last Synced: 2024-10-19T01:13:33.172Z (over 1 year ago)
- Language: PHP
- Size: 141 KB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
laravel-ucenter
===============
ucenter bundle for laravel with uc_client 1.6.0
===============
# what is UCenter?
you can go and check it out [here](http://www.comsenz.com/products/ucenter/).
# installation
`
$ php artisan bundle:install laravel-ucenter
`
# config
* route bundle in application/bundles.php
`
'ucenter' => array('handles' => 'api/uc')
`
* place your ucenter config in bundles/ucenter/config.php
# usage
* start the bundle
`
Bundle::start('ucenter');
`
* call api
`
UC_Client::execute('uc_user_login', array('username', 'password'));
`
> you can find all apis on ucenter develop documentation.
* callback functionality
> just modify bundles/ucenter/callback.php.
## hope it'll help you.:-)