PHPackages                             djiele/skype-web-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. djiele/skype-web-php

AbandonedLibrary

djiele/skype-web-php
====================

PHP client for Skype Web API

07842PHP

Since Oct 19Pushed 6y agoCompare

[ Source](https://github.com/djiele/skype-web-php)[ Packagist](https://packagist.org/packages/djiele/skype-web-php)[ RSS](/packages/djiele-skype-web-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

skype-web-php
=============

[](#skype-web-php)

PHP client for Skype Web API

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
$ php composer.phar require djiele/skype-web-php "dev-master"

```

or add

```
"djiele/skype-web-php": "dev-master"

```

to the `require` section of your `composer.json` file.

Usage
-----

[](#usage)

#### get Skype object

[](#get-skype-object)

```
use skype_web_php\Skype;
$appDataPath = getcwd().DIRECTORY_SEPARATOR.'app-data'.DIRECTORY_SEPARATOR;
$skype = new Skype($username, $passwd, $appDataPath);

```

where $username is your skype login (no phone number support yet),

$password is self explanatory

$appDataPath is the path to the app-data folder where are cached skype current connection (one day expiry)

#### Do the connection process

[](#do-the-connection-process)

use cached connection if not expired or do the full login process

```
$skype->login() or die('Login failed');
echo 'Connected as ', $skype->getMyDisplayname(), PHP_EOL;

```

#### Update profile

[](#update-profile)

```
if($skype->updateProfile(["richmood" => "i am very happy :D", "mood" => " i am very happy" , "firstName" => "John", "lastName" => "Doe"])) {`
	echo 'profile updated', PHP_EOL;
}
if($skype->updateAvatar("/path/to/image")) {`
	echo 'avatar updated', PHP_EOL;`
	$skype->downloadAvatar(/path/to/folder/);`
}

```

#### Messaging

[](#messaging)

```
$skype->enableMessaging(Skype::STATUS_HIDDEN);

```

##### Send / edit / delete a text message

[](#send--edit--delete-a-text-message)

```
$contact_id = '8:live:username';
$message_id = $skype->sendMessage("Hello: ".date('Y-m-d H:i:s'), $contact_id);
$skype->editMessage("Hello: ".date('Y-m-d H:i:s'), $contact_id, $message_id);
$skype->deleteMessage($contact_id', $message_id);

```

##### Send file, image or skype contact

[](#send-file-image-or-skype-contact)

```
$fileInfos = $skype->sendFile([$contact_id=>['read', 'write']], /path/to/file);
$imgInfos=$skype->sendImage([$contact_id=>['read', 'write']], /path/to/image))
$message_id = $skype->sendContact($contact_id,  $contact_id_to_be_sent);

```

##### Retrieve new messages

[](#retrieve-new-messages)

```
$messages = $skype->getNewMessages();

```

#### Free resources, close the connection

[](#free-resources-close-the-connection)

```
$skype->disableMessaging();
$skype->logout();

```

#### Others

[](#others)

skype-web can also

- send, accept or decline invitations
- manage groupchat
- search for contact

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 71.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/40306999?v=4)[djiele](/maintainers/djiele)[@djiele](https://github.com/djiele)

---

Top Contributors

[![djiele](https://avatars.githubusercontent.com/u/40306999?v=4)](https://github.com/djiele "djiele (45 commits)")[![mosvov](https://avatars.githubusercontent.com/u/2290361?v=4)](https://github.com/mosvov "mosvov (12 commits)")[![kseyfert](https://avatars.githubusercontent.com/u/5472827?v=4)](https://github.com/kseyfert "kseyfert (6 commits)")

### Embed Badge

![Health badge](/badges/djiele-skype-web-php/health.svg)

```
[![Health](https://phpackages.com/badges/djiele-skype-web-php/health.svg)](https://phpackages.com/packages/djiele-skype-web-php)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
