tailscale / tailscale/tailscale-rs
bindings: tailscale-rs bindings for PHP
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 61
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 22
Description
Is there any interest for PHP bindings? I implemented it today in a fork annieversary/tailscale-rs, mostly as an excuse to play around with this library.
It uses ext-php-rs to make a language extension which can be loaded and which contains the same methods the other FFI bindings do. It also uses php-tokio, amphp, and revolt for async. There's some things I'm not very sure about in the implementation (mainly the autoload.php), but it works well as is.
If there's interest in upstreaming this, I can polish it and open an actual PR. :)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing implementation in the annieversary/tailscale-rs fork on branch ts-php, including its ext-php-rs integration and autoload.php. Check how it uses php-tokio, amphp, and revolt for async behavior. Done means the binding is polished and an actual upstream pull request can be opened if the project wants it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, rust
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100