PHPackages                             avinmaster/laravel-jwt-api - 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. avinmaster/laravel-jwt-api

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

avinmaster/laravel-jwt-api
==========================

A Laravel JWT API starter project template.

1.0.1(4y ago)413MITPHPPHP ^7.3|^8.0

Since Jan 7Pushed 4y ago1 watchersCompare

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

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

Laravel JWT API
===============

[](#laravel-jwt-api)

[![Build Status](https://github.com/avinmaster/laravel-jwt-api/workflows/tests/badge.svg)](https://github.com/avinmaster/laravel-jwt-api/actions)[![Total Downloads](https://camo.githubusercontent.com/b3dea27c9979f51921bd16b5338fb5c7cf577845d9187a881ab339a13d844dfe/68747470733a2f2f706f7365722e707567782e6f72672f6176696e6d61737465722f6c61726176656c2d6a77742d6170692f642f746f74616c2e737667)](https://packagist.org/packages/avinmaster/laravel-jwt-api)[![Latest Stable Version](https://camo.githubusercontent.com/ee4691a0a9d84f3c0163a23c1547a2a62e35b03521a7749061693038968aeb84/68747470733a2f2f706f7365722e707567782e6f72672f6176696e6d61737465722f6c61726176656c2d6a77742d6170692f762f737461626c652e737667)](https://packagist.org/packages/avinmaster/laravel-jwt-api)

> A Laravel JWT API starter kit.

Features
--------

[](#features)

- Laravel 8
- Login, register, email verification and password reset
- Authentication with JWT
- Socialite integration

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

[](#installation)

- `composer create-project --prefer-dist avinmaster/laravel-jwt-api`
- Edit `.env` and set your database connection details
- (When installed via git clone or download, run `php artisan key:generate` and `php artisan jwt:secret`)
- `php artisan migrate`
- `npm install`

Usage
-----

[](#usage)

### Socialite

[](#socialite)

This project comes with GitHub as an example for [Laravel Socialite](https://laravel.com/docs/5.8/socialite).

To enable the provider create a new GitHub application and use `https://example.com/api/oauth/github/callback` as the Authorization callback URL.

Edit `.env` and set `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET` with the keys form your GitHub application.

For other providers you may need to set the appropriate keys in `config/services.php` and redirect url in `OAuthController.php`.

---

### Email Verification

[](#email-verification)

To enable email verification make sure that your `App\User` model implements the `Illuminate\Contracts\Auth\MustVerifyEmail` contract.

---

Testing
=======

[](#testing)

### Run all unit and feature tests

[](#run-all-unit-and-feature-tests)

```
vendor/bin/phpunit
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](https://github.com/avinmaster/laravel-jwt-api/CHANGELOG.md) for more information what has changed recently.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

1590d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0570d2bde7471021eb98d199539a88ea827f3d6598b11206b7725618b13145d2?d=identicon)[avinmaster](/maintainers/avinmaster)

---

Top Contributors

[![avinmaster](https://avatars.githubusercontent.com/u/90766641?v=4)](https://github.com/avinmaster "avinmaster (3 commits)")

---

Tags

jwtlaravelphpjwtapilaravel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/avinmaster-laravel-jwt-api/health.svg)

```
[![Health](https://phpackages.com/badges/avinmaster-laravel-jwt-api/health.svg)](https://phpackages.com/packages/avinmaster-laravel-jwt-api)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[francescomalatesta/laravel-api-boilerplate-jwt

An API Boilerplate to create a ready-to-use REST API in seconds.

1.2k7.5k](/packages/francescomalatesta-laravel-api-boilerplate-jwt)[cretueusebiu/laravel-nuxt

A Laravel-Nuxt starter project template.

1.1k6.3k](/packages/cretueusebiu-laravel-nuxt)

PHPackages © 2026

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