diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..f391772 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Pavel S. + +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. \ No newline at end of file diff --git a/composer.json b/composer.json index 6c50109..d5caa85 100644 --- a/composer.json +++ b/composer.json @@ -1,14 +1,21 @@ { - "name": "getjump/vk-api-php", - "description": "VK API PHP, ALL NEW, MAY THE FORCE BE WITH YOU", + "name": "getjump/vk", + "description": "Library for work with API Vk.com", + "keywords": ["php", "vk", "api", "library", "vkontakte"], + "license": "MIT", "authors": [ + { + "name" : "Pavel S.", + "email" : "contact@getjump.me" + } ], "require": { - "guzzlehttp/guzzle": "4.*" + "guzzlehttp/guzzle": "4.*", + "php": ">=5.5.0" }, "autoload": { "psr-4": { - "getjump\\Vk\\": "getjump/Vk/" + "getjump\\Vk\\": "src/getjump/Vk/" } } } diff --git a/getjump/Vk/Auth.php b/src/getjump/Vk/Auth.php similarity index 100% rename from getjump/Vk/Auth.php rename to src/getjump/Vk/Auth.php diff --git a/getjump/Vk/Constants/Error.php b/src/getjump/Vk/Constants/Error.php similarity index 100% rename from getjump/Vk/Constants/Error.php rename to src/getjump/Vk/Constants/Error.php diff --git a/getjump/Vk/Constants/LongPolling.php b/src/getjump/Vk/Constants/LongPolling.php similarity index 100% rename from getjump/Vk/Constants/LongPolling.php rename to src/getjump/Vk/Constants/LongPolling.php diff --git a/getjump/Vk/Constants/Permissions.php b/src/getjump/Vk/Constants/Permissions.php similarity index 100% rename from getjump/Vk/Constants/Permissions.php rename to src/getjump/Vk/Constants/Permissions.php diff --git a/getjump/Vk/Constants/UserFields.php b/src/getjump/Vk/Constants/UserFields.php similarity index 100% rename from getjump/Vk/Constants/UserFields.php rename to src/getjump/Vk/Constants/UserFields.php diff --git a/getjump/Vk/Core.php b/src/getjump/Vk/Core.php similarity index 100% rename from getjump/Vk/Core.php rename to src/getjump/Vk/Core.php diff --git a/getjump/Vk/Exception/Error.php b/src/getjump/Vk/Exception/Error.php similarity index 100% rename from getjump/Vk/Exception/Error.php rename to src/getjump/Vk/Exception/Error.php diff --git a/getjump/Vk/Model/BaseModel.php b/src/getjump/Vk/Model/BaseModel.php similarity index 100% rename from getjump/Vk/Model/BaseModel.php rename to src/getjump/Vk/Model/BaseModel.php diff --git a/getjump/Vk/Model/Photos/UploadResponse.php b/src/getjump/Vk/Model/Photos/UploadResponse.php similarity index 100% rename from getjump/Vk/Model/Photos/UploadResponse.php rename to src/getjump/Vk/Model/Photos/UploadResponse.php diff --git a/getjump/Vk/Model/Photos/UploadUrl.php b/src/getjump/Vk/Model/Photos/UploadUrl.php similarity index 100% rename from getjump/Vk/Model/Photos/UploadUrl.php rename to src/getjump/Vk/Model/Photos/UploadUrl.php diff --git a/getjump/Vk/Model/User.php b/src/getjump/Vk/Model/User.php similarity index 100% rename from getjump/Vk/Model/User.php rename to src/getjump/Vk/Model/User.php diff --git a/getjump/Vk/RequestTransaction.php b/src/getjump/Vk/RequestTransaction.php similarity index 100% rename from getjump/Vk/RequestTransaction.php rename to src/getjump/Vk/RequestTransaction.php diff --git a/getjump/Vk/Response/Api.php b/src/getjump/Vk/Response/Api.php similarity index 100% rename from getjump/Vk/Response/Api.php rename to src/getjump/Vk/Response/Api.php diff --git a/getjump/Vk/Response/Error.php b/src/getjump/Vk/Response/Error.php similarity index 100% rename from getjump/Vk/Response/Error.php rename to src/getjump/Vk/Response/Error.php diff --git a/getjump/Vk/Response/Response.php b/src/getjump/Vk/Response/Response.php similarity index 100% rename from getjump/Vk/Response/Response.php rename to src/getjump/Vk/Response/Response.php diff --git a/getjump/Vk/VkJs.php b/src/getjump/Vk/VkJs.php similarity index 100% rename from getjump/Vk/VkJs.php rename to src/getjump/Vk/VkJs.php diff --git a/getjump/Vk/Wrapper/Account.php b/src/getjump/Vk/Wrapper/Account.php similarity index 100% rename from getjump/Vk/Wrapper/Account.php rename to src/getjump/Vk/Wrapper/Account.php diff --git a/getjump/Vk/Wrapper/BaseWrapper.php b/src/getjump/Vk/Wrapper/BaseWrapper.php similarity index 100% rename from getjump/Vk/Wrapper/BaseWrapper.php rename to src/getjump/Vk/Wrapper/BaseWrapper.php diff --git a/getjump/Vk/Wrapper/Friends.php b/src/getjump/Vk/Wrapper/Friends.php similarity index 100% rename from getjump/Vk/Wrapper/Friends.php rename to src/getjump/Vk/Wrapper/Friends.php diff --git a/getjump/Vk/Wrapper/LongPoll.php b/src/getjump/Vk/Wrapper/LongPoll.php similarity index 100% rename from getjump/Vk/Wrapper/LongPoll.php rename to src/getjump/Vk/Wrapper/LongPoll.php diff --git a/getjump/Vk/Wrapper/Photos.php b/src/getjump/Vk/Wrapper/Photos.php similarity index 100% rename from getjump/Vk/Wrapper/Photos.php rename to src/getjump/Vk/Wrapper/Photos.php diff --git a/getjump/Vk/Wrapper/User.php b/src/getjump/Vk/Wrapper/User.php similarity index 100% rename from getjump/Vk/Wrapper/User.php rename to src/getjump/Vk/Wrapper/User.php