PHPackages                             yangweijie/think-editor - 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. [Templating &amp; Views](/categories/templating)
4. /
5. yangweijie/think-editor

ActiveLibrary[Templating &amp; Views](/categories/templating)

yangweijie/think-editor
=======================

v1.0.0(2y ago)1312MITPHP

Since May 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/yangweijie/think-editor)[ Packagist](https://packagist.org/packages/yangweijie/think-editor)[ RSS](/packages/yangweijie-think-editor/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (2)

think-editor
============

[](#think-editor)

用编辑器或者ide 打开 ThinkPHP 中的文件项目

安装
--

[](#安装)

`composer require yangweijie/think-editor`

```
// editor 配置中设置打开的 编辑器
'editor'   => ‘vscode’,

```

其他打开方式
------

[](#其他打开方式)

### sublime

[](#sublime)

需要安装 GitHub - [thecotne/subl-protocol: sublime text protocol](https://github.com/thecotne/subl-protocol) 插件

### phpstorm

[](#phpstorm)

参考 [laravel-debugbar 中正确使用 ide phpstorm 打开项目文件的方式 | Laravel China 社区](https://learnku.com/articles/77072) 文章放置 js 和 添加注册表即可

打开协议的链接生成
---------

[](#打开协议的链接生成)

```
use yangweijie\editor\Editor;

Editor::getEditorHref($file, $line);

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

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

Unknown

Total

1

Last Release

788d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c0b5f090a9bb92727e9c2e8281d05c2da5f2f9bf66cf1811714a9ffc0e383325?d=identicon)[yangweijie](/maintainers/yangweijie)

---

Top Contributors

[![yangweijie](https://avatars.githubusercontent.com/u/1614114?v=4)](https://github.com/yangweijie "yangweijie (2 commits)")

### Embed Badge

![Health badge](/badges/yangweijie-think-editor/health.svg)

```
[![Health](https://phpackages.com/badges/yangweijie-think-editor/health.svg)](https://phpackages.com/packages/yangweijie-think-editor)
```

###  Alternatives

[zoujingli/think-library

Core library and common services for ThinkAdmin

8373.4k20](/packages/zoujingli-think-library)[yunwuxin/think-twig

Twig Template For ThinkPHP5

202.4k2](/packages/yunwuxin-think-twig)[nhzex/think-blade

Use Laravel Blade templates without the full Laravel framework

112.7k](/packages/nhzex-think-blade)[ichynul/tpextmyadmin

thinkphp extension

141.6k](/packages/ichynul-tpextmyadmin)

PHPackages © 2026

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