ltd-beget / openssh-key
Parse ssh keys in OpenSSH format
Installs: 665
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 15
Forks: 0
Open Issues: 0
pkg:composer/ltd-beget/openssh-key
Requires
- php: >=7.1
- ltd-beget/stringstream: ^v2.0
- marc-mabe/php-enum: ^2.0 || ^3.0
Requires (Dev)
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2025-09-28 14:30:44 UTC
README
PHP library for parsing and manipulating ssh keys in OpenSSH format.
Features
- Parsing authorized public key from text:
- OpenSSH authorized key options as described in sshd(8)
- Public key type
- Comment
- Changing options/public key/comment independently
- Basic key validation
Currently not supported
- Private keys parsing/manipulation