PHPackages                             ronasit/laravel-clerk - 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. ronasit/laravel-clerk

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

ronasit/laravel-clerk
=====================

Package provides auth guard to auth user via the Clerk

1.1.1(3mo ago)98.0k↑23.1%[4 PRs](https://github.com/RonasIT/laravel-clerk/pulls)MITPHPPHP ^8.3CI passing

Since Nov 4Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/RonasIT/laravel-clerk)[ Packagist](https://packagist.org/packages/ronasit/laravel-clerk)[ RSS](/packages/ronasit-laravel-clerk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (15)Versions (17)Used By (0)

[![Coverage Status](https://camo.githubusercontent.com/5d508e7c7aa6633c7d1c1bf4f9fd15193d91965ad084d70a8b089079a935d9e2/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f526f6e617349542f6c61726176656c2d636c65726b2f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/RonasIT/laravel-clerk?branch=main)

Laravel Clerk Guard
===================

[](#laravel-clerk-guard)

Introduction
------------

[](#introduction)

This package offers an authentication guard to seamlessly integrate [Clerk](https://clerk.com) authentication into your Laravel project.

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

[](#installation)

1. Use Composer to install the package:

```
composer require ronasit/laravel-clerk
```

2. Run package's `install` command

```
php artisan laravel-clerk:install
```

3. Populate the necessary configuration options in `config/clerk.php`.

Usage
-----

[](#usage)

By default, your app returns the `User` class with just the `external_id` property, which holds the user's ID in Clerk.

To customize this behavior, you'll need to create your own `UserRepository` that implements the `UserRepositoryContract`. Then, rebind it in one of the service providers:

```
use RonasIT\Clerk\Contracts\ClerkUserRepositoryContract;
use App\Support\Clerk\MyAwesomeUserRepository;

class AppServiceProvider extends ServiceProvider
{
    public function boot(): void
    {
        $this->app->bind(ClerkUserRepositoryContract::class, MyAwesomeUserRepository::class);
    }
}
```

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance86

Actively maintained with recent releases

Popularity30

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~92 days

Recently: every ~107 days

Total

6

Last Release

98d ago

Major Versions

0.0.3-beta → 1.02025-04-14

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1585993?v=4)[Evgeny Leonov](/maintainers/eleonov)[@eleonov](https://github.com/eleonov)

![](https://avatars.githubusercontent.com/u/129854316?v=4)[DPankratov](/maintainers/DPankratov)[@dpankratov](https://github.com/dpankratov)

---

Top Contributors

[![AZabolotnikov](https://avatars.githubusercontent.com/u/110885041?v=4)](https://github.com/AZabolotnikov "AZabolotnikov (39 commits)")[![DenTray](https://avatars.githubusercontent.com/u/9486872?v=4)](https://github.com/DenTray "DenTray (30 commits)")[![artengin](https://avatars.githubusercontent.com/u/152782500?v=4)](https://github.com/artengin "artengin (22 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![astorozhevsky](https://avatars.githubusercontent.com/u/11055414?v=4)](https://github.com/astorozhevsky "astorozhevsky (2 commits)")[![RGO230](https://avatars.githubusercontent.com/u/76399317?v=4)](https://github.com/RGO230 "RGO230 (2 commits)")[![eleonov](https://avatars.githubusercontent.com/u/1585993?v=4)](https://github.com/eleonov "eleonov (1 commits)")[![NikitaYakovlev](https://avatars.githubusercontent.com/u/36948499?v=4)](https://github.com/NikitaYakovlev "NikitaYakovlev (1 commits)")

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/ronasit-laravel-clerk/health.svg)

```
[![Health](https://phpackages.com/badges/ronasit-laravel-clerk/health.svg)](https://phpackages.com/packages/ronasit-laravel-clerk)
```

###  Alternatives

[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k16.4M48](/packages/lab404-laravel-impersonate)[santigarcor/laratrust

This package provides a flexible way to add Role-based Permissions to Laravel

2.3k5.4M43](/packages/santigarcor-laratrust)[overtrue/laravel-follow

User follow unfollow system for Laravel.

1.2k404.7k5](/packages/overtrue-laravel-follow)[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

578630.7k1](/packages/scheb-2fa)[jeremy379/laravel-openid-connect

OpenID Connect support to the PHP League's OAuth2 Server. Compatible with Laravel Passport.

55342.3k2](/packages/jeremy379-laravel-openid-connect)[nl.idaas/openid-server

OpenID Connect server for PHP

47129.2k1](/packages/nlidaas-openid-server)

PHPackages © 2026

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