PHPackages                             marcusmyers/github-auth - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. marcusmyers/github-auth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

marcusmyers/github-auth
=======================

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

v1.0.0(9y ago)019MITPHP

Since Jul 30Pushed 9y ago1 watchersCompare

[ Source](https://github.com/marcusmyers/github-auth)[ Packagist](https://packagist.org/packages/marcusmyers/github-auth)[ RSS](/packages/marcusmyers-github-auth/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (3)Used By (0)

github-auth
===========

[](#github-auth)

This is a php port of Chris Hunt's [github-auth](https://github.com/chrishunt/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.

[](#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`](http://en.wikipedia.org/wiki/Ssh-agent) file.

Install
-------

[](#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
------

[](#ussage)

### Adding a user

[](#adding-a-user)

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

### Removing a user

[](#removing-a-user)

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

### Listing users

[](#listing-users)

```
$ gh-auth list-users
marcusmyers
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

3623d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f71e0894b0f23222260ff8467126f98eb98204b875933a3ac6e03d45c6d60ebe?d=identicon)[marcusmyers](/maintainers/marcusmyers)

---

Top Contributors

[![marcusmyers](https://avatars.githubusercontent.com/u/337947?v=4)](https://github.com/marcusmyers "marcusmyers (12 commits)")

---

Tags

githubgithub-authgh-auth

### Embed Badge

![Health badge](/badges/marcusmyers-github-auth/health.svg)

```
[![Health](https://phpackages.com/badges/marcusmyers-github-auth/health.svg)](https://phpackages.com/packages/marcusmyers-github-auth)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M19.6k](/packages/laravel-framework)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M723](/packages/sylius-sylius)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M406](/packages/drupal-core-recommended)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)

PHPackages © 2026

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