PHPackages                             nihilsen/keypad - 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. [Framework](/categories/framework)
4. /
5. nihilsen/keypad

ActiveLibrary[Framework](/categories/framework)

nihilsen/keypad
===============

Client-side cryptography framework for Laravel using Blade components and native Web Crypto API.

v0.4.0(3y ago)19[2 PRs](https://github.com/Persaeus/keypad/pulls)MITPHPPHP ^8.1

Since Feb 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Persaeus/keypad)[ Packagist](https://packagist.org/packages/nihilsen/keypad)[ Docs](https://github.com/nihilsen/keypad)[ RSS](/packages/nihilsen-keypad/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (9)Versions (9)Used By (0)

Keypad 🎹 for Laravel
====================

[](#keypad--for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5f04afcffd7b508f9afd1c0149fc80fb6b28fb5030786b94ee5aadcf175616bf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6968696c73656e2f6b65797061642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nihilsen/keypad)[![GitHub Tests Action Status](https://camo.githubusercontent.com/575ecba4f35c59df41357eeaf82a9fa9782327dd884902e64193eecfea9be49e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6e6968696c73656e2f6b65797061642f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/nihilsen/keypad/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/4178be3d96f2b4b00ff2ee120328774e068e4afc8cec18d46d33ad9750e6d835/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6e6968696c73656e2f6b65797061642f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/nihilsen/keypad/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/45ebf3e2aff77dc7974a49fd5d04e8bfb69e84ef2e0b6401b545bdb7f43f7325/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6968696c73656e2f6b65797061642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nihilsen/keypad)

*Keypad* is a Laravel package that aims to make it easier to add client-side encryption and decryption to your Laravel applications.

Keypad offers a suite of reactive Blade components that can be inserted into your existing authentication forms.

Under the hood, Keypad uses browser-native [*Web Crypto API*](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API).

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

[](#installation)

You can install the package via composer:

```
composer require nihilsen/keypad
```

You can run the migrations with:

```
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="keypad-config"
```

This is the contents of the published config file:

Components and usage
--------------------

[](#components-and-usage)

### Login: ``

[](#login-x-keypadlogin)

```

    {{ -- CSRF token -- }}
    @csrf

    {{ -- email field -- }}

    {{ -- password field -- }}

    {{ -- Keypad "login" component -- }}

    {{ -- other form elements, submit button, etc ... -- }}

```

### Register: ``

[](#register-x-keypadregister)

```

    {{ -- CSRF token -- }}
    @csrf

    {{ -- email field -- }}

    {{ -- password field -- }}

    {{ -- confirm password field -- }}

    {{ -- Keypad "register" component -- }}

    {{ -- other form elements, submit button, etc ... -- }}

```

### Encrypt: ``

[](#encrypt-x-keypadencrypt)

```

    {{ -- CSRF token -- }}
    @csrf

    {{ -- plaintext message field -- }}

    {{ -- get recipient keypad -- }}
    @php
        $recipient = User::find($__GET['recipient_id']);
        $keypad = $recipient->keypad;
    @endphp

    {{ -- Keypad "encrypt" component -- }}

    {{ -- other form elements, submit button, etc ... -- }}

```

### Decrypt: ``

[](#decrypt-x-keypaddecrypt)

```
{{ $message->secret_message }}
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Roadmap
-------

[](#roadmap)

- ``
- ``
- ``
- ``
- ``
- ``
- ``

Contributing
------------

[](#contributing)

- Pull requests, bug reports and feature requests are welcome.

Credits
-------

[](#credits)

- [Nihilsen](https://github.com/nihilsen)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.1% 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 ~12 days

Total

4

Last Release

1183d ago

### Community

Maintainers

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

---

Top Contributors

[![Persaeus](https://avatars.githubusercontent.com/u/32091869?v=4)](https://github.com/Persaeus "Persaeus (53 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (4 commits)")[![nihilsen](https://avatars.githubusercontent.com/u/160070922?v=4)](https://github.com/nihilsen "nihilsen (1 commits)")

---

Tags

laravelkeypadnihilsen

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/nihilsen-keypad/health.svg)

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

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17760.2k3](/packages/stephenjude-filament-jetstream)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.3k3](/packages/defstudio-telegraph)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)

PHPackages © 2026

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