PHPackages                             cometbackup/comet-php-sdk - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. cometbackup/comet-php-sdk

ActiveLibrary[File &amp; Storage](/categories/file-storage)

cometbackup/comet-php-sdk
=========================

PHP SDK for the Comet Server API

v4.46.0(5mo ago)107.7k2[1 issues](https://github.com/CometBackup/comet-php-sdk/issues)MITPHPPHP &gt;=7.0

Since Aug 16Pushed 5mo ago4 watchersCompare

[ Source](https://github.com/CometBackup/comet-php-sdk)[ Packagist](https://packagist.org/packages/cometbackup/comet-php-sdk)[ Docs](https://cometbackup.com)[ RSS](/packages/cometbackup-comet-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (91)Used By (0)

PHP SDK for the Comet Server API
================================

[](#php-sdk-for-the-comet-server-api)

[![@CometBackup on Twitter](https://camo.githubusercontent.com/264e66223d06f086331f26cfcf7573de3ef58944c5a6298e0410b128dae31dd6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f747769747465722d253430436f6d65744261636b75702d626c75652e7376673f7374796c653d666c6174)](https://twitter.com/CometBackup)[![MIT License](https://camo.githubusercontent.com/cf44afade1eb6427cfa108bcf9ba6ecff735f6ec568c0d1d1b89eadae6a05e23/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f636f6d65746261636b75702f636f6d65742d7068702d73646b2e737667)](https://packagist.org/packages/cometbackup/comet-php-sdk)[![Packagist](https://camo.githubusercontent.com/baa49a99004233d88c7e50dcf182ea3bcf73c8e231f1d8326a8d9a7b0f0bae2c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f6d65746261636b75702f636f6d65742d7068702d73646b2e737667)](https://packagist.org/packages/cometbackup/comet-php-sdk)

The Comet Server API allows you to create and manage customer accounts on your Comet Server.

Comet Licensing Ltd makes this library freely available under the [MIT license](https://spdx.org/licenses/MIT.html); you may embed it in any PHP project, either free or commercial, as long as the copyright header comment remains intact in the `*.php` files.

Features
--------

[](#features)

- Full coverage of Comet Server API methods, data structures, and constant definitions
- Easy synchronous API requests via the `\Comet\Server` class
- PSR-7 support for asynchronous / Promise requests
- PHP 7.x type hints. For PHP 5.x compatibility, please use [the last v3.x SDK release](https://github.com/CometBackup/comet-php-sdk/releases/tag/v3.25.0).

Version compatibility
---------------------

[](#version-compatibility)

This library uses [Semantic Versioning](https://semver.org/). However, large parts of this library are autogenerated from internal protocol descriptions from a specific version of Comet Server; to find the source Comet Server version, check the `\Comet\Def::APPLICATION_VERSION` constant.

Newer API libraries can be safely used with older versions of Comet Server, however some features may be unavailable, and any new API properties will be unrecognised and ignored by the Comet Server.

Older API libraries can be safely used with newer versions of Comet Server. Unknown API properties corresponding to new Comet Server features will be preserved via the `__unknown_properties` system.

Getting Started
---------------

[](#getting-started)

Install via [Composer](https://getcomposer.org/):

```
composer require cometbackup/comet-php-sdk
```

List all user accounts:

```
