PHPackages                             php-client/tailscale - 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/tailscale

ActiveLibrary[API Development](/categories/api)

php-client/tailscale
====================

PHP Client for Tailscale API

v0.1.0(1y ago)31.3k—6.3%MITPHPPHP ^8.3

Since Feb 13Pushed 1y agoCompare

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

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

PHP Client for Tailscale API.
=============================

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

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

[](#installation)

Install with Composer:

```
composer require php-client/tailscale
```

Usage
-----

[](#usage)

Simple example:

```
use PhpClient\Tailscale\Tailscale;

$tailscale = new Tailscale(
    token: 'YOUR_API_TOKEN',
);

$response = $tailscale->api->devices()->listTailnetDevices(
    tailnet: '-', // Default tailnet
);

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

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

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

- Contact preferences
    - Get|Update contacts
    - Resend verification email
- Device invites
    - List|Create device invites
    - Get|Accept|Resent|Delete device invite
- Device posture
    - List all posture integrations
    - Create|Get|Update|Delete posture integration
- Users
    - List users
    - Get|Approve|Suspend|Restore|Delete user
    - Update user role
- DNS
    - List|Set DNS nameservers
    - Get|Set DNS preferences
    - List|Set DNS search paths
    - Get|Update|Set split DNS
- Webhooks
    - List webhooks
    - Create|Get|Update|Delete|Test webhook
    - Rotate webhook secret
- Devices
    - List tailnet devices
    - Get|Delete|Authorize device
    - List|Set device routes
    - Set device name|tags
    - Update device key
    - Set device IPv4 address
    - Get device posture attributes
    - Set|Delete custom device posture attribute
- Tailnet settings
    - Get|Update tailnet settings
- Logging
    - List configuration audit logs
    - List network flow logs
    - Get log streaming status
    - Get|Set log streaming configuration
    - Disable log streaming
- Policy file
    - Get|Set policy file
    - Preview rule matches
    - Validate and test policy file
- Keys
    - List tailnet keys
    - Create|Get|Delete key
- User invites
    - List|Create user invites
    - Get|Delete|Resend user invite

License
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance41

Moderate activity, may be stable

Popularity23

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

495d 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

apiclientphpsaloonsdktailscaleapiclientsaloontailscale

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[saloonphp/laravel-plugin

The official Laravel plugin for Saloon

806.6M187](/packages/saloonphp-laravel-plugin)

PHPackages © 2026

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