PHPackages                             latrell/scws - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. latrell/scws

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

latrell/scws
============

简易中文分词系统在Laravel的封装包。

1.0(10y ago)113410[1 PRs](https://github.com/Latrell/SCWS/pulls)MITPHPPHP &gt;=5.5.9

Since May 17Pushed 6y ago2 watchersCompare

[ Source](https://github.com/Latrell/SCWS)[ Packagist](https://packagist.org/packages/latrell/scws)[ Docs](https://github.com/Latrell/SCWS)[ RSS](/packages/latrell-scws/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

SCWS
====

[](#scws)

该项目封装 [简易中文分词系统](https://github.com/hightman/scws) 为 Laravel 拓展包。

安装
--

[](#安装)

```
composer require latrell/scws dev-master

```

更新你的依赖包 `composer update` 或者全新安装 `composer install`。

使用
--

[](#使用)

要使用本服务提供者，你必须自己注册服务提供者到Laravel服务提供者列表中。

打开配置文件 `config/app.php`。

找到key为 `providers` 的数组，在数组中添加服务提供者。

```
    'providers' => [
        // ...
        Latrell\Scws\ScwsServiceProvider::class,
    ]
```

找到key为 `aliases` 的数组，在数组中注册Facades。

```
    'aliases' => [
        // ...
        'Scws' => Latrell\Scws\Facades\Scws::class,
    ]
```

运行 `php artisan vendor:publish` 命令，发布配置文件到你的项目中。

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

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

Unknown

Total

1

Last Release

3696d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravellaravel 5l5SCWS

### Embed Badge

![Health badge](/badges/latrell-scws/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[sbsaga/toon

🧠 TOON for Laravel — a compact, human-readable, and token-efficient data format for AI prompts &amp; LLM contexts. Perfect for ChatGPT, Gemini, Claude, Mistral, and OpenAI integrations (JSON ⇄ TOON).

6442.4k](/packages/sbsaga-toon)[json-mapper/laravel-package

The JsonMapper package for Laravel

25188.9k3](/packages/json-mapper-laravel-package)

PHPackages © 2026

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