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

ActiveLibrary

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

Handle authorization on the frontend of your Inertia applications.

v0.1.0(1y ago)04[4 PRs](https://github.com/honedlabs/lock/pulls)MITPHPPHP ^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 1mo ago

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

> **Caution:** This package is currently under development and not ready for production use. Tag v1.0.0 will indicate a stable release.

[   ![](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) [![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.2+](https://php.net/releases/)**

> **Requires [Laravel 11+](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

33

—

LowBetter than 75% of packages

Maintenance71

Regular maintenance activity

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

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

414d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/15a6681aedaa970f3cdc6061a522528ee8d5b9de8003ac0ba0a32bd445b28442?d=identicon)[jdw5](/maintainers/jdw5)

---

Top Contributors

[![jdw5](https://avatars.githubusercontent.com/u/87954417?v=4)](https://github.com/jdw5 "jdw5 (100 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (30 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (25 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

[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)

PHPackages © 2026

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