PHPackages                             wangliang/laravel-web - 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. wangliang/laravel-web

ActiveLibrary[API Development](/categories/api)

wangliang/laravel-web
=====================

v1.0(7y ago)07CSS

Since Jan 9Pushed 7y agoCompare

[ Source](https://github.com/18612623334/web)[ Packagist](https://packagist.org/packages/wangliang/laravel-web)[ RSS](/packages/wangliang-laravel-web/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

laravel5.5 Component\_login

### 通过Composer安装包。

[](#通过composer安装包)

#### API

[](#api)

#### 从终端运行Composer update命令：

[](#从终端运行composer-update命令)

```
"wangliang/laravel-web":"^v1.0"

```

#### 在config/app providers数组中添加一个新行：

[](#在configapp--providers数组中添加一个新行)

```
Wangliang\Web\TestServiceProvider::class,

```

#### 从终端运行发布服务 命令：

[](#从终端运行发布服务-命令)

```
php artisan vendor:publish --

```

#### 运行数据库迁移

[](#运行数据库迁移)

```
php artisan migrate (先删除框架自带的user数据迁移文件)(关掉laravel config/database 下的mysql 严格模式 strict:false)

```

#### 在 app/Providers/RouteServiceProvider 修改路由

[](#在-appprovidersrouteserviceprovider-修改路由)

##### mapWebRoutes(方法)

[](#mapwebroutes方法)

```
foreach (glob(base_path('routes/Web') . '/*.php') as $file) {
    Route::middleware('web')
        ->namespace($this->namespace)
        ->group($file);
}

```

#### 配置文件 config/auth.php

[](#配置文件-configauthphp)

```
'web' => [
    'driver' => 'session',
    'provider' => 'users',
],
'users' => [
    'driver' => 'eloquent',
    'model' => App\Models\Api\User::class,
],

```

OK 按照步骤走下来 项目已经基本上跑通 如果跑不通 去百度上 好好学习一下

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

Unknown

Total

1

Last Release

2728d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/27938167?v=4)[18612623334](/maintainers/18612623334)[@18612623334](https://github.com/18612623334)

---

Top Contributors

[![18612623334](https://avatars.githubusercontent.com/u/27938167?v=4)](https://github.com/18612623334 "18612623334 (1 commits)")

### Embed Badge

![Health badge](/badges/wangliang-laravel-web/health.svg)

```
[![Health](https://phpackages.com/badges/wangliang-laravel-web/health.svg)](https://phpackages.com/packages/wangliang-laravel-web)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

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

PHPackages © 2026

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