PHPackages                             alifcapital/lumen-user-service-client - 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. alifcapital/lumen-user-service-client

ActiveLibrary[API Development](/categories/api)

alifcapital/lumen-user-service-client
=====================================

Lumen client for https://github.com/alifcapital/alifcore-service-user

07.5kPHP

Since Mar 30Pushed 4y ago4 watchersCompare

[ Source](https://github.com/alifcapital/alifcore-service-user-client-lumen)[ Packagist](https://packagist.org/packages/alifcapital/lumen-user-service-client)[ RSS](/packages/alifcapital-lumen-user-service-client/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

User Service lumen client Package
=================================

[](#user-service-lumen-client-package)

User Client 0.1 for Lumen 8

Installation
============

[](#installation)

add this lines to composer.json file:

```
composer require alifcapital/alifcore-service-user-client-lumen
```

add this line in Register Service Providers section (bootstrap/app.php):

```
$app->register(AlifCapital\UserServiceClient\ServiceProvider::class);
```

add routeMiddleware (bootstrap\\app.php):

```
 $app->routeMiddleware([
     'auth' => App\Http\Middleware\Authenticate::class,
     'role' => AlifCapital\UserServiceClient\Http\Middleware\RoleMiddleware::class
 ]);
```

Configuration
=============

[](#configuration)

- Run `php artisan user_client:publish-config` to publish configs (`config/user_client.php`)

add this line in Register configure section (bootstrap/app.php):

```
$app->configure('user_client');
```

add this line in Environments (.env):

```
USER_CLIENT_SERVICE_NAME=alif-shop-settings #(every service had unique service_name)
USER_SERVICE_BASE_URL={url}/service_user #(URL of user service)
USER_CLIENT_PUBLIC_KEY_TTL=60 #CACHE IN SECOUNDS
```

migrate:

```
    php artisan migrate
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity27

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/0837a5a9bbd48964635498d62e247146cc8ee260fb8c4c99f32c2c456fc1a916?d=identicon)[alifcapital](/maintainers/alifcapital)

---

Top Contributors

[![Sekaiichi](https://avatars.githubusercontent.com/u/15075961?v=4)](https://github.com/Sekaiichi "Sekaiichi (24 commits)")

---

Tags

jwt-authenticationlaravellumenphp

### Embed Badge

![Health badge](/badges/alifcapital-lumen-user-service-client/health.svg)

```
[![Health](https://phpackages.com/badges/alifcapital-lumen-user-service-client/health.svg)](https://phpackages.com/packages/alifcapital-lumen-user-service-client)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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