PHPackages                             rch/lexik-jwt-authentication-sandbox - 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. rch/lexik-jwt-authentication-sandbox

Abandoned → [chalasr/lexik-jwt-authentication-sandbox](/?search=chalasr%2Flexik-jwt-authentication-sandbox)Project[Authentication &amp; Authorization](/categories/authentication)

rch/lexik-jwt-authentication-sandbox
====================================

Sandbox for the LexikJWTAuthenticationBundle Symfony bundle

v1.0.0(9y ago)813236[2 issues](https://github.com/chalasr/lexik-jwt-authentication-sandbox/issues)[1 PRs](https://github.com/chalasr/lexik-jwt-authentication-sandbox/pulls)MITPHPPHP &gt;=5.5.9

Since Aug 5Pushed 5y ago7 watchersCompare

[ Source](https://github.com/chalasr/lexik-jwt-authentication-sandbox)[ Packagist](https://packagist.org/packages/rch/lexik-jwt-authentication-sandbox)[ RSS](/packages/rch-lexik-jwt-authentication-sandbox/feed)WikiDiscussions master Synced 3w ago

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

LexikJWTAuthenticationBundle Sandbox
====================================

[](#lexikjwtauthenticationbundle-sandbox)

This is a sample application for experimenting/demonstrating features of the powerful LexikJWTAuthenticationBundle bundle which provides authentication through JWT.

What's inside
-------------

[](#whats-inside)

- [Symfony](https://github.com/symfony/symfony) 4.0 (Flex)
- [LexikJWTAuthenticationBundle](https://github.com/lexik/LexikJWTAuthenticationBundle) ~2.4

Get started
-----------

[](#get-started)

Clone the project:

```
$ git clone https://github.com/chalasr/lexik-jwt-authentication-sandbox
$ cd lexik-jwt-authentication-sandbox
$ git checkout flex
```

Create the database schema:

```
$ php bin/console doctrine:database:create
$ php bin/console doctrine:schema:update --force
```

Usage
-----

[](#usage)

Run the web server:

```
$ php bin/console server:run
```

Register a new user:

```
$ curl -X POST http://localhost:8000/register -d _username=johndoe -d _password=test
-> User johndoe successfully created

```

Get a JWT token:

```
$ curl -X POST -H "Content-Type: application/json" http://localhost:8000/login_check -d '{"username":"johndoe","password":"test"}'
-> { "token": "[TOKEN]" }

```

Access a secured route:

```
$ curl -H "Authorization: Bearer [TOKEN]" http://localhost:8000/api
-> Logged in as johndoe

```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 90.9% 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 ~87 days

Total

2

Last Release

3527d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/80840?v=4)[Ryan C. Hill](/maintainers/rch)[@rch](https://github.com/rch)

---

Top Contributors

[![chalasr](https://avatars.githubusercontent.com/u/7502063?v=4)](https://github.com/chalasr "chalasr (20 commits)")[![yceruto](https://avatars.githubusercontent.com/u/2028198?v=4)](https://github.com/yceruto "yceruto (2 commits)")

### Embed Badge

![Health badge](/badges/rch-lexik-jwt-authentication-sandbox/health.svg)

```
[![Health](https://phpackages.com/badges/rch-lexik-jwt-authentication-sandbox/health.svg)](https://phpackages.com/packages/rch-lexik-jwt-authentication-sandbox)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M712](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k16.8k](/packages/prestashop-prestashop)[kimai/kimai

Kimai - Time Tracking

4.8k8.7k1](/packages/kimai-kimai)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9317.2k55](/packages/open-dxp-opendxp)

PHPackages © 2026

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