PHPackages                             codes50/slim-framework-4-jwt-auth-example - 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. codes50/slim-framework-4-jwt-auth-example

ActiveLibrary[Framework](/categories/framework)

codes50/slim-framework-4-jwt-auth-example
=========================================

Slim Framework v4 JWT Auth Example

0.1(6y ago)887[1 issues](https://github.com/CodeS50/slim-framework-4-jwt-auth-example/issues)[1 PRs](https://github.com/CodeS50/slim-framework-4-jwt-auth-example/pulls)MITPHPPHP &gt;=7.2CI failing

Since Dec 20Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/CodeS50/slim-framework-4-jwt-auth-example)[ Packagist](https://packagist.org/packages/codes50/slim-framework-4-jwt-auth-example)[ Docs](https://github.com/CodeS50/Slim-Framework-4-JWT-Auth-Example)[ RSS](/packages/codes50-slim-framework-4-jwt-auth-example/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (8)Versions (3)Used By (0)

Slim Framework 4 JWT Auth Example
=================================

[](#slim-framework-4-jwt-auth-example)

Requires
--------

[](#requires)

- php: &gt;=7.2
- codes50/validation
- firebase/php-jwt
- tuupola/slim-jwt-auth

Install
-------

[](#install)

Install latest version using [composer](https://getcomposer.org/).

```
$ composer create-project codes50/slim-framework-4-jwt-auth-example [my-app-name]
```

Replace `[my-app-name]` with the desired directory name for your new application. You'll want to:

- Point your virtual host document root to your new application's `public/` directory.
- Ensure `logs/` is web writable.

To run the application in development, you can run these commands

```
cd [my-app-name]
composer start
```

Or you can use `docker-compose` to run the app with `docker`, so you can run these commands:

```
cd [my-app-name]
docker-compose up -d
```

After that, open `http://localhost:8080` in your browser.

Run this command in the application directory to run the test suite

```
composer test
```

That's it! Now go build something cool.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance51

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

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

2341d ago

### Community

Maintainers

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

---

Top Contributors

[![CodeS50](https://avatars.githubusercontent.com/u/35570038?v=4)](https://github.com/CodeS50 "CodeS50 (11 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

jwtframeworkauthslimtokenexample

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/codes50-slim-framework-4-jwt-auth-example/health.svg)

```
[![Health](https://phpackages.com/badges/codes50-slim-framework-4-jwt-auth-example/health.svg)](https://phpackages.com/packages/codes50-slim-framework-4-jwt-auth-example)
```

###  Alternatives

[codecourse/slender

A slender starter structure for Slim

772.4k](/packages/codecourse-slender)

PHPackages © 2026

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