PHPackages                             teepluss/wordbreaker - 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. teepluss/wordbreaker

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

teepluss/wordbreaker
====================

Word breaker is Thai wording separator for using with fulltext software.

v0.1(11y ago)426MITPHPPHP &gt;=5.4.0

Since Nov 24Pushed 11y ago1 watchersCompare

[ Source](https://github.com/teepluss/laravel-wordbreaker)[ Packagist](https://packagist.org/packages/teepluss/wordbreaker)[ Docs](https://github.com/teepluss/laravel-wordbreaker)[ RSS](/packages/teepluss-wordbreaker/feed)WikiDiscussions master Synced 1mo ago

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

Laravel Thai Word Breaker.
--------------------------

[](#laravel-thai-word-breaker)

Wordbreaker is a thai wording separator.

> This package is just a wrapper from [PhlongTaIam: PHP Thai word breaker](https://github.com/veer66/PhlongTaIam)

### Installation

[](#installation)

- [Wordbreaker on Packagist](https://packagist.org/packages/teepluss/wordbreaker)
- [Wordbreaker on GitHub](https://github.com/teepluss/laravel-wordbreaker)

To get the lastest version of Wordbreaker simply require it in your `composer.json` file.

```
"teepluss/wordbreaker": "dev-master"

```

You'll then need to run `composer install` to download it and have the autoloader updated.

Once Wordbreaker is installed you need to register the service provider with the application. Open up `app/config/app.php` and find the `providers` key.

```
'providers' => array(

    'Teepluss\Wordbreaker\WordbreakerServiceProvider'

)

```

Theme also ships with a facade which provides the static syntax for creating collections. You can register the facade in the `aliases` key of your `app/config/app.php` file.

```
'aliases' => array(

    'Wordbreaker' => 'Teepluss\Wordbreaker\Facades\Wordbreaker',

)

```

Publish config using artisan CLI.

```
php artisan config:publish teepluss/wordbreaker

```

Usage
-----

[](#usage)

```
// Append dictionary.
$source = [
    'ทดสอบ',
    'ประโยค',
    'ภาษาไทย',
    'ยาว',
    'แตก',
    'คำ'
];

Wordbreaker::add($source);

// Separate sentence into word.

$text = 'ทดสอบการแตกคำจากประโยคที่มีความยาว และติดกันมากๆ ในภาษาไทย';

$w = Wordbreaker::make($text);

var_dump($w);
```

Support or Contact
------------------

[](#support-or-contact)

If you have some problem, Contact

[![Support via PayPal](https://camo.githubusercontent.com/1c4c2a63b268ab949717893dda9628735444f61b8eb8eece283a534338b5b0e5/68747470733a2f2f7261776769746875622e636f6d2f63687269732d2d2d2f446f6e6174696f6e2d4261646765732f6d61737465722f70617970616c2e6a706567)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9GEC8J7FAG6JA)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

4187d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/98f73b54567183f49c41533fc0c05cfffccdf5ed4f0351e3065d62d14779d26f?d=identicon)[teepluss](/maintainers/teepluss)

---

Tags

laraveltokenizerlaravel4fulltext

### Embed Badge

![Health badge](/badges/teepluss-wordbreaker/health.svg)

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

###  Alternatives

[rajentrivedi/tokenizer-x

TokenizerX calculates required tokens for given prompt

91214.0k3](/packages/rajentrivedi-tokenizer-x)[ultrono/laravel-sitemap

Sitemap generator for Laravel 11, 12 and 13

36412.6k6](/packages/ultrono-laravel-sitemap)[mischasigtermans/laravel-toon

Token-Optimized Object Notation encoder/decoder for Laravel with intelligent nested object handling

13113.1k](/packages/mischasigtermans-laravel-toon)[dniccum/nova-documentation

A Laravel Nova tool that allows you to add markdown-based documentation to your administrator's dashboard.

37116.4k](/packages/dniccum-nova-documentation)[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).

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

The JsonMapper package for Laravel

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

PHPackages © 2026

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