PHPackages                             innmind/warden - 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. [Security](/categories/security)
4. /
5. innmind/warden

ActiveLibrary[Security](/categories/security)

innmind/warden
==============

Tool to restrict ssh connections

2.2.0(5y ago)032MITPHPPHP ~7.4|~8.0CI failing

Since Apr 14Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Innmind/Warden)[ Packagist](https://packagist.org/packages/innmind/warden)[ Docs](http://github.com/Innmind/Warden)[ RSS](/packages/innmind-warden/feed)WikiDiscussions develop Synced 2d ago

READMEChangelogDependencies (7)Versions (14)Used By (0)

Warden
======

[](#warden)

[![Build Status](https://github.com/Innmind/Warden/workflows/CI/badge.svg?branch=master)](https://github.com/Innmind/Warden/actions?query=workflow%3ACI)[![codecov](https://camo.githubusercontent.com/b2ac12192641271a90e93f7a41adfe0da68fc4714d7e553f2173bf2a3bda6d87/68747470733a2f2f636f6465636f762e696f2f67682f496e6e6d696e642f57617264656e2f6272616e63682f646576656c6f702f67726170682f62616467652e737667)](https://codecov.io/gh/Innmind/Warden)[![Type Coverage](https://camo.githubusercontent.com/3d0902f02de09f0b9a6f1e02d2a507f2a135f8ac4efcb3a9bca775cc733c46cb/68747470733a2f2f73686570686572642e6465762f6769746875622f496e6e6d696e642f57617264656e2f636f7665726167652e737667)](https://shepherd.dev/github/Innmind/Warden)

Tool to manage ssh connections for a server

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

[](#installation)

```
composer global require innmind/warden
```

Usage
-----

[](#usage)

```
warden wakeup
```

This will modify the ssh configuration to only allow connections via ssh key.

```
warden grant [user]
```

This will add the ssh keys the user added on his github account to `.ssh/authorized_keys`

```
warden lock
```

This will stop the ssh service, **to be used carefully** as you won't be able to connect to your server afterward.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance61

Regular maintenance activity

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity75

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

Every ~94 days

Recently: every ~64 days

Total

12

Last Release

1909d ago

Major Versions

1.4.0 → 2.0.02020-03-28

PHP version history (3 changes)1.0.0PHP ~7.2

2.0.0PHP ~7.4

2.2.0PHP ~7.4|~8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/851425?v=4)[Baptiste Langlade](/maintainers/Baptouuuu)[@Baptouuuu](https://github.com/Baptouuuu)

---

Top Contributors

[![Baptouuuu](https://avatars.githubusercontent.com/u/851425?v=4)](https://github.com/Baptouuuu "Baptouuuu (56 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/innmind-warden/health.svg)

```
[![Health](https://phpackages.com/badges/innmind-warden/health.svg)](https://phpackages.com/packages/innmind-warden)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[illuminate/encryption

The Illuminate Encryption package.

9229.7M280](/packages/illuminate-encryption)

PHPackages © 2026

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