maksa988 / vk
PHP class for working with VK API
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/maksa988/vk
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2025-10-06 11:15:46 UTC
README
PHP class for working with VK API
Usage
-
Connect class
require('VK.php'); -
Create VK object
-
without access token (examples/example-1.php)
$vk = new MAKSA\VKAPI('{APP_ID}', '{API_SECRET}'); -
with access token (examples/example-2.php)
$vk = new MAKSA\VKAPI('{APP_ID}', '{API_SECRET}', '{ACCESS_TOKEN}');
-
-
Usage API
$vk->api('{METHOD_NAME}', '{PARAMETERS}');
Other methods
- Set version of API.
$vk->setApiVersion({NUBMER});
Variables
{APP_ID}— Your application's identifier.{API_SECRET}— Secret application key.{ACCESS_TOKEN}— Access token.{METHOD_NAME}— Name of the API method. All methods.{PARAMETERS}— Parameters of the corresponding API methods.
Development
- Source hosted at GitHub
- Report issues, questions, feature requests on GitHub Issues
Author
Website: Maksa988 Email: admin@maksa988.ru