PHPackages                             honed/lock - 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. honed/lock

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

honed/lock
==========

Handle authorization on the frontend of your Inertia applications.

v0.1.0(1y ago)04MITPHPPHP ^8.2CI passing

Since Mar 30Pushed 1mo agoCompare

[ Source](https://github.com/honedlabs/lock)[ Packagist](https://packagist.org/packages/honed/lock)[ Docs](https://github.com/honedlabs/lock)[ RSS](/packages/honed-lock/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (13)Versions (10)Used By (0)

[   ![](art/header-light.png) ](https://honed.dev/lock)Lock
====

[](#lock)

 [![Build Status](https://github.com/honedlabs/lock/actions/workflows/tests.yml/badge.svg)](https://github.com/honedlabs/lock/actions) [![Code Coverage](https://raw.githubusercontent.com/honedlabs/lock/main/badge-coverage.svg)](https://github.com/honedlabs/lock) [![Total Downloads](https://camo.githubusercontent.com/4a3448fa18e43fd8ae8ad5738e38a8d592c246aa9042bc4c11989d0b7fd25179/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f686f6e65642f6c6f636b)](https://packagist.org/packages/honed/lock) [![Latest Stable Version](https://camo.githubusercontent.com/f3a51f60c47c165de9ede5a20a4a9efa7dad3977fec3b45cfb472394fb667b4b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f686f6e65642f6c6f636b)](https://packagist.org/packages/honed/lock)

**Lock** provides a simple way to serialize and authorize permissions, both for your application's models and for global gate abilities.

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

[](#installation)

> **Requires [PHP 8.3+](https://php.net/releases/)**

> **Requires [Laravel 12+](https://laravel.com/docs/releases).**

> **Requires [Inertia.js 1.2+](https://inertiajs.com/server-side-setup)**

Get started with the package by requiring it in your PHP project using [Composer](https://getcomposer.org/).

```
composer require honed/lock
```

Companion
---------

[](#companion)

> **Requires [Vue.js 3.4+](https://vuejs.org/about/releases.html).**

> **Requires [Inertia.js 1.2+](https://inertiajs.com/client-side-setup)**

Get started with the [companion package](https://github.com/honedlabs/lock-vue) by installing it as a node dependency via [NPM](https://npmjs.com).

```
npm install @honed/lock
```

Documentation
-------------

[](#documentation)

Please refer to the [documentation](https://honed.dev/lock) for the usage of the package.

License
-------

[](#license)

**Lock** was created by [Joshua Wallace](https://joshua-wallace.com) under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance71

Regular maintenance activity

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.5% 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

461d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/87954417?v=4)[Joshua Wallace](/maintainers/jdw5)[@jdw5](https://github.com/jdw5)

---

Top Contributors

[![jdw5](https://avatars.githubusercontent.com/u/87954417?v=4)](https://github.com/jdw5 "jdw5 (107 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (33 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (26 commits)")

---

Tags

laravelinertialockhoned

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/honed-lock/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M306](/packages/laravel-horizon)[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[illuminate/database

The Illuminate Database package.

2.8k54.9M11.6k](/packages/illuminate-database)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M193](/packages/laravel-ai)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)

PHPackages © 2026

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