PHPackages                             php-client/syncthing - 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. [API Development](/categories/api)
4. /
5. php-client/syncthing

ActiveLibrary[API Development](/categories/api)

php-client/syncthing
====================

PHP Client for Syncthing API

v0.1.0(1y ago)119MITPHPPHP ^8.3

Since Feb 12Pushed 1y agoCompare

[ Source](https://github.com/php-client/syncthing)[ Packagist](https://packagist.org/packages/php-client/syncthing)[ RSS](/packages/php-client-syncthing/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Php client for Syncthing API.
=============================

[](#php-client-for-syncthing-api)

This is a PHP client for the [Syncthing API](https://docs.syncthing.net).

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

[](#installation)

Install the package via composer:

```
composer require php-client/syncthing
```

Usage
-----

[](#usage)

Simple example:

```
use PhpClient\Syncthing\Syncthing;

$syncthing = new Syncthing(
    baseUrl: 'http://127.0.0.1:8384',
    token: 'YOUR_API_TOKEN',
);

$response = $syncthing->api->config()->getAllDevices();

foreach ($response->json() as $device) {
    echo $device['name'];
}
```

List of available API methods
-----------------------------

[](#list-of-available-api-methods)

- System
    - Get list of directories
    - Get devices info
    - Get|Update debug facilities
    - Get local discovery cache
    - Get|Create|Delete recent errors
    - Get paths
    - Pause|Resume syncing
    - Ping
    - Erase index
    - Get system version|status|log
    - Check upgrade possibility
    - Upgrade
    - Restart|Shutdown
- Config
    - Get|Update full config
    - Check if restart is required
    - Get all folders (or devices)
    - Create|Get|Update|Delete folder or device
    - Get|Replace default folder (or device) configuration
    - Get|Replace default ignore patterns
    - Get|Update config options
    - Get|Update ldap config
    - Get|Update gui config
- Cluster
    - List|Remove records about remote pending folder (or device)
- Folder
    - Get folder errors
    - Get|Restore files versions
- Database
    - Get directory tree
    - Get completion percentage
    - Get file info
    - Get|Update folder ignores
    - Get local changed files
    - Get needed files
    - Override remote folder
    - Force file download priority
    - Get remote needed files
    - Revert local changes
    - Rescan
    - Get folder status
- Events
    - Get events
    - Get disk events
- Statistics
    - Get devices|folders statistics
- Misc
    - Get formatted device ID
    - Get canonical language code
    - Get random string
    - Get usage report data
- Debug
    - Get completion summary
    - Get http metrics
    - Get CPU profile
    - Get heap memory profile
    - Collect debug info
    - Get debug info about file
- No auth
    - Get health status

License
-------

[](#license)

This package is released under the [MIT License](LICENSE.md).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance43

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

460d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/31df2ea335c3dda0ced87001849611067f9107484dd487ddfc5971311ccd6222?d=identicon)[sentosango](/maintainers/sentosango)

---

Top Contributors

[![sentosango](https://avatars.githubusercontent.com/u/72351912?v=4)](https://github.com/sentosango "sentosango (36 commits)")

---

Tags

apiclientphpsaloonsdksyncthingapiclientsaloonsyncthing

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/php-client-syncthing/health.svg)

```
[![Health](https://phpackages.com/badges/php-client-syncthing/health.svg)](https://phpackages.com/packages/php-client-syncthing)
```

###  Alternatives

[saloonphp/laravel-plugin

The official Laravel plugin for Saloon

805.7M125](/packages/saloonphp-laravel-plugin)[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)

PHPackages © 2026

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