akbv/php-skype
最新稳定版本:3.1.4
Composer 安装命令:
composer require akbv/php-skype
包简介
PHP library that wraps Skype Web API
README 文档
README
php-skype
php-skype is a library that wraps Skype Web API. The library is designed to be user-friendly and comes with comprehensive documentation and examples to help integrate Skype functionality into projects quickly and easily.
Installation
Use the package manager composer to install php-skype.
composer require akbv/php-skype
Usage
Note this is just the basic example to get you started. For more examples, please see the documentation and examples folder.
<?php // Create a connection to Skype $connection = new \Akbv\PhpSkype\Connection('email', 'password', __DIR__ . '/var/session'); // Get all contacts $contacts = $connection->getContacts(); // Start one-to-one chat with a contact $chat = $connection->chat('8:live:username'); // Send a message to the chat $message = $chat->sendMessage('Hello World!');
Supported features
- Login With Microsoft Account (SOAP)
- Login With Microsoft Account (Live)
- Get Contacts
- Get Conversations
- Create a one-to-one chat
- Create a group chat
- Get a user profile
- Get user invites
- Configure endpoint
- Subscribe to contact and conversation events
- Send messages (text, files, images, contacts)
- Edit messages
- Delete messages
- Set consumption horizon
- Set typing indicator
- Get chat messages
- Set group chat topic
- Set group chat as moderated/unmoderated
- Set group chat as open/closed for joining
- Set group chat history disclosed/undisclosed
- Add and remove group chat members
- Make a group chat member an admin
- Remove admin status from a group chat member
- Leave a group chat
Contributing
Pull requests are welcome.
License
NOTE: This library is not affiliated with Skype or Microsoft in any way. Use at your own risk
统计信息
- 总下载量: 3.3k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2023-04-25
