PHPackages                             tosinbot/lumen-dingo-adapter - 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. [API Development](/categories/api)
4. /
5. tosinbot/lumen-dingo-adapter

ActiveLibrary[API Development](/categories/api)

tosinbot/lumen-dingo-adapter
============================

Using Dingo + JWT in your Lumen Based Application with no pain

0665PHP

Since Jan 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/tosinbot/lumen-dingo-adapter)[ Packagist](https://packagist.org/packages/tosinbot/lumen-dingo-adapter)[ RSS](/packages/tosinbot-lumen-dingo-adapter/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Dingo Adapter for Lumen
=======================

[](#dingo-adapter-for-lumen)

Using Dingo + JWT in your Lumen Based Application with no pain.

### Installation

[](#installation)

```
composer require krisanalfa/lumen-dingo-adapter

```

### Configuration

[](#configuration)

In your `bootstrap/app.php` file add this line:

```
$app->register(Zeek\LumenDingoAdapter\Providers\LumenDingoAdapterServiceProvider::class);
```

Below is environment variable you should configure to make this package works out of the box:

```
API_PREFIX=api
```

### Guarding Your Routes via Dingo Routing

[](#guarding-your-routes-via-dingo-routing)

```
$app->make(Dingo\Api\Routing\Router::class)->version('v1', function ($api) {
    $api->group([
        'middleware' => 'api.auth',
    ], function ($api) {
        $api->get('/', 'App\Http\Controllers\DefaultController@index');
    });
});
```

### Quick Start

[](#quick-start)

I have made a boilerplate [here](https://github.com/krisanalfa/lumen-jwt). Read the docs there to find out how to *Quick Start* this package.

### LICENSE

[](#license)

Copyright 2017 Krisan Alfa Timur

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5322b9ed59c982b5eaa72cdcde847935e9264bcba8f49894716a0fbc5bb1ad10?d=identicon)[tosinbot](/maintainers/tosinbot)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/tosinbot-lumen-dingo-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/tosinbot-lumen-dingo-adapter/health.svg)](https://phpackages.com/packages/tosinbot-lumen-dingo-adapter)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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