PHPackages                             skywit/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. skywit/scws

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

skywit/scws
===========

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

2.0.2(5y ago)09MITPHPPHP ^7.0|^8.0

Since May 17Pushed 5y agoCompare

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

READMEChangelog (2)Dependencies (1)Versions (6)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

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

5

Last Release

1983d ago

Major Versions

1.0.1 → 2.0.02020-02-22

PHP version history (4 changes)1.0PHP &gt;=5.5.9

2.0.0PHP &gt;=7.0

2.0.1PHP ^7.0

2.0.2PHP ^7.0|^8.0

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravelSCWS

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/skywit-scws/health.svg)](https://phpackages.com/packages/skywit-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)
