marcusmyers/github-auth

PHP Implementation of [github-auth](https://github.com/chrishunt/github-auth)

v1.0.0 2016-07-30 17:38 UTC

This package is auto-updated.

Last update: 2024-04-12 05:12:06 UTC


README

This is a php port of Chris Hunt's github-auth. I did this mainly because I have been writing a php command line application and needed something like it.

Pairing with strangers has never been so good.

github-auth allows you to quickly pair with anyone who has a GitHub account by adding and removing their public ssh keys from your authorized_keys file.

Install

composer global require "marcusmyers/github-auth=~1.0.0"

Make sure to place the ~/.composer/vendor/bin directory in your PATH so the gh-auth executable is found when you run the gh-auth command in your terminal.

Ussage

Adding a user

$ gh-auth add marcusmyers
Successfully added marcusmyers to your authorized keys file

Removing a user

$ gh-auth remove marcusmyers
Removed 2 keys from your authorized_keys file

Listing users

$ gh-auth list-users
marcusmyers