API engine based on Yii, it will handle authorize, access_token, and token validation from third apps request. This is still beta so it'll need enhancement and testing all over places. Please feel free to report an issue or send your pull request.
- Webserver (Apache >2.1)
- PHP Version >5.3 (Needed for anonymous function)
- Yii Framework >1.1.x
index.default.php
toindex.php
protected/yiic.default.php
toprotected/yiic.php
protected/config/console.default.php
toprotected/config/console.php
protected/config/main.default.php
toprotected/config/main.php
console.php
main.php
index.php
Run this migration command from your console for each module (api
and user
) :
./protected/yiic migrate --migrationPath=application.modules.[MODULE].migrations
Make sure you already download Yii framework and make sure path to framework is correct on index.php
Note: You must clone this project to VHOST instead of in sub-folder to avoid broken url in redirection.
Basic Configuration Rest Component Basig Usage
Copyright (c) 2013 Rolies106
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.