PHPackages                             alamb/auth-service - 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. alamb/auth-service

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

alamb/auth-service
==================

0.8(6y ago)5196MITPHPPHP &gt;=7.0

Since Jun 10Pushed 6y agoCompare

[ Source](https://github.com/JustinLuang/AuthService)[ Packagist](https://packagist.org/packages/alamb/auth-service)[ RSS](/packages/alamb-auth-service/feed)WikiDiscussions master Synced 2w ago

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

AuthService
===========

[](#authservice)

\##laravel 5.5.\*

> composer 指令

```
composer require alamb/auth-service

```

\###1.先发布配置文件到config目录下面

```
php artisan vendor:publish

```

\###2.在app/config目录注册我们的服务提供

```
   'providers'=> [
       ...
       \Alamb\AuthService\AuthProvider::class,
   ]
```

\####测试用例

```
   public function test()
      {
          $response=app('authService')->getResponse(
              'POST', //请求类型
            'http://new.alamb.com/login',  //请求连接
            [                                  //请求数据
                'password'=>"1234567",
                'phone'=>'13435439932',]
            );
          dump($response);
      }

```

\##lumen下安装必要的包拓展包

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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 ~33 days

Recently: every ~50 days

Total

7

Last Release

2375d ago

PHP version history (2 changes)0.2PHP &gt;=7.1.3

0.6PHP &gt;=7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/490673?v=4)[Andrew Lamb](/maintainers/alamb)[@alamb](https://github.com/alamb)

---

Top Contributors

[![JustinLuang](https://avatars.githubusercontent.com/u/18572329?v=4)](https://github.com/JustinLuang "JustinLuang (14 commits)")

### Embed Badge

![Health badge](/badges/alamb-auth-service/health.svg)

```
[![Health](https://phpackages.com/badges/alamb-auth-service/health.svg)](https://phpackages.com/packages/alamb-auth-service)
```

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.2k](/packages/unopim-unopim)[overtrue/socialite

A collection of OAuth 2 packages.

1.4k5.6M90](/packages/overtrue-socialite)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k34](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

121242.9k1](/packages/ellaisys-aws-cognito)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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