PHPackages                             siaoynli/phone-auth-plugin - 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. siaoynli/phone-auth-plugin

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

siaoynli/phone-auth-plugin
==========================

基于 Laravel 11 的手机验证码登录插件包

1.0.9(4mo ago)011↓33.3%MITPHPPHP ^8.2

Since Dec 10Pushed 4mo agoCompare

[ Source](https://github.com/siaoynli/phone-auth-plugin)[ Packagist](https://packagist.org/packages/siaoynli/phone-auth-plugin)[ RSS](/packages/siaoynli-phone-auth-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (11)Used By (0)

插件系统快速参考卡
=========

[](#插件系统快速参考卡)

🚀 5 分钟快速开始
----------

[](#-5-分钟快速开始)

### 第 1 步：创建插件目录

[](#第-1-步创建插件目录)

```
mkdir -p packages/my-plugin/src/{Controllers,Services,Providers}
cd packages/my-plugin
mkdir -p {routes,config,database/migrations}
```

### 第 2 步：创建主类

[](#第-2-步创建主类)

**src/MyPlugin.php**

```
