PHPackages                             suframe/sunny - 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. [Admin Panels](/categories/admin)
4. /
5. suframe/sunny

ActiveLibrary[Admin Panels](/categories/admin)

suframe/sunny
=============

sunny-ngrok for thinkphp

1.0.1(6y ago)5262Apache-2.0PHP

Since Dec 28Pushed 6y ago1 watchersCompare

[ Source](https://github.com/suframe/sunny)[ Packagist](https://packagist.org/packages/suframe/sunny)[ RSS](/packages/suframe-sunny/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (3)Used By (0)

suframe-sunny 免费内网穿透库
=====================

[](#suframe-sunny-免费内网穿透库)

> 感谢[http://www.ngrok.cc提供](http://www.ngrok.cc%E6%8F%90%E4%BE%9B)

开发交流QQ群：647344518 [立即加群](http://shang.qq.com/wpa/qunwpa?idkey=83a58116f995c9f83af6dc2b4ea372e38397349c8f1973d8c9827e4ae4d9f50e)

在开发过程中，经常需要用到外网访问接口，比如公众号，小程序,或者你给客户开发网站系统，客户需要预览等。上传到服务器上调试总是比较麻烦，ngrok可以解决您的这个问题，让你本地开发程序可以外网访问

sunny是一个提供免费和收费内网穿透的工具，此库就是用于集成到thinkphp，让程序可外网访问。支持http,https,tcp转发

**可绑定自定义域名或者使用免费3级域名**

注册账户：
-----

[](#注册账户)

> 注意开通隧道的时候如果你想所有人可访问，不要设置http验证用户名和密码

- 1.登录[http://www.ngrok.cc，注册账户](http://www.ngrok.cc%EF%BC%8C%E6%B3%A8%E5%86%8C%E8%B4%A6%E6%88%B7)
- 2.按教程开通隧道：[http://www.ngrok.cc/\_book/general/open.html](http://www.ngrok.cc/_book/general/open.html) 选择香港Ngrok免费服务器，当然有速度要求的可以选择付费，也不贵
- 3.如果是定义域名，请按教程解析[http://www.ngrok.cc/\_book/general/hostname.html](http://www.ngrok.cc/_book/general/hostname.html)
- 4.复制隧道id

### 安装：

[](#安装)

```
composer install suframe/sunny

```

修改config/sunny.php clientid =&gt; '上面创建的隧道id',

### 运行:

[](#运行)

> 运行前请先启动你的项目保证本地可访问，否则转发无法接受数据

```
php think sunny
# 或者运行原始脚本
php vendor/suframe/sunny/src/sunny.php
#后台运行
setsid php think sunny &
# 关闭后台进程
ps -ef | grep 'php think sunny' | grep -v grep | cut -c 9-15 | xargs kill -9

```

访问你隧道绑定的或者赠送的域名即可. 开始愉快的开发吧

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

Total

2

Last Release

2333d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/26e36c8d7e37a188cea18a232fb883576c4ec3000394179f703e3c17397f3e8b?d=identicon)[shulinqian](/maintainers/shulinqian)

---

Top Contributors

[![shulinqian](https://avatars.githubusercontent.com/u/3351161?v=4)](https://github.com/shulinqian "shulinqian (8 commits)")

### Embed Badge

![Health badge](/badges/suframe-sunny/health.svg)

```
[![Health](https://phpackages.com/badges/suframe-sunny/health.svg)](https://phpackages.com/packages/suframe-sunny)
```

###  Alternatives

[jeroennoten/laravel-adminlte

Easy AdminLTE integration with Laravel

4.0k4.8M43](/packages/jeroennoten-laravel-adminlte)[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[dwij/laraadmin

LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like CRUD Generation, Module Manager, Media, Menus, Backups and much more

1.6k68.7k](/packages/dwij-laraadmin)[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1764.8M125](/packages/filament-spatie-laravel-media-library-plugin)[bezhansalleh/filament-exceptions

A Simple &amp; Beautiful Pluggable Exception Viewer for FilamentPHP's Admin Panel

193195.9k13](/packages/bezhansalleh-filament-exceptions)[filament/infolists

Easily add beautiful read-only infolists to any Livewire component.

1220.8M36](/packages/filament-infolists)

PHPackages © 2026

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