PHPackages                             spiral/tokenizer - 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. spiral/tokenizer

ActiveLibrary

spiral/tokenizer
================

Static Analysis: Class and Invocation locators

3.16.1(2mo ago)177.3M↑13.6%520MITPHPPHP &gt;=8.1CI failing

Since Feb 7Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/spiral/tokenizer)[ Packagist](https://packagist.org/packages/spiral/tokenizer)[ Docs](https://spiral.dev)[ GitHub Sponsors](https://github.com/sponsors/spiral)[ RSS](/packages/spiral-tokenizer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (106)Used By (20)

Static Analysis: Class and Invocation locators
==============================================

[](#static-analysis-class-and-invocation-locators)

[![PHP Version Require](https://camo.githubusercontent.com/05525b52b5e65f53b03842e4114fc3a6f43b8d31948701b801ace7f683c652c0/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f746f6b656e697a65722f726571756972652f706870)](https://packagist.org/packages/spiral/tokenizer)[![Latest Stable Version](https://camo.githubusercontent.com/4638e4fce62ba916ed079c8e363d9509b28fec20a4f44a69a15de482eaf974e7/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f746f6b656e697a65722f762f737461626c65)](https://packagist.org/packages/spiral/tokenizer)[![phpunit](https://github.com/spiral/tokenizer/actions/workflows/phpunit.yml/badge.svg)](https://github.com/spiral/tokenizer/actions)[![psalm](https://github.com/spiral/tokenizer/actions/workflows/psalm.yml/badge.svg)](https://github.com/spiral/tokenizer/actions)[![Codecov](https://camo.githubusercontent.com/459a6636ae19e827596d1a425360ca592406829a404f25b6d3d68542c112a419/68747470733a2f2f636f6465636f762e696f2f67682f73706972616c2f746f6b656e697a65722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/spiral/tokenizer/)[![Total Downloads](https://camo.githubusercontent.com/fe636392dae5ba60e276d81f3036a0d1d691e81c690d43e83aec71aef5212942/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f746f6b656e697a65722f646f776e6c6f616473)](https://packagist.org/packages/spiral/tokenizer)[![type-coverage](https://camo.githubusercontent.com/90fefba900d1fc398dcd995e81a2c96a885d2ba46cd292883b976385c1c32eee/68747470733a2f2f73686570686572642e6465762f6769746875622f73706972616c2f746f6b656e697a65722f636f7665726167652e737667)](https://shepherd.dev/github/spiral/tokenizer)[![psalm-level](https://camo.githubusercontent.com/40b85920737fde9a3b1910347487ad500dd0a6d99a25a1fd4df8ab413e899ddb/68747470733a2f2f73686570686572642e6465762f6769746875622f73706972616c2f746f6b656e697a65722f6c6576656c2e737667)](https://shepherd.dev/github/spiral/tokenizer)[![](https://camo.githubusercontent.com/4442b73a11753b80fdd7b442ddbfaf8383902c8b9ffa66ed1718e8c62e102f2e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646973636f72642d636861742d6d6167656e74612e737667)](https://discord.gg/8bZsjYhVVk)

**[Documentation](https://spiral.dev/docs/component-tokenizer)** | [Framework Bundle](https://github.com/spiral/framework)

License:
--------

[](#license)

MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information. Maintained by [Spiral Scout](https://spiralscout.com).

###  Health Score

68

—

FairBetter than 100% of packages

Maintenance83

Actively maintained with recent releases

Popularity54

Moderate usage in the ecosystem

Community30

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 85.3% 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 ~33 days

Recently: every ~82 days

Total

101

Last Release

85d ago

Major Versions

v0.9.0 → v1.0.02017-04-05

v1.0.0 → v2.0.02018-08-25

v1.0.1 → v2.1.42019-03-12

1.0.0.x-dev → v2.1.52019-03-29

2.14.1 → 3.0.02022-09-13

PHP version history (6 changes)v0.9.0PHP ^7.0

v2.0.0PHP ^7.1

v2.6.0PHP ^7.2

2.7.0PHP &gt;=7.2

2.10.0PHP &gt;=7.4

3.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/796136?v=4)[Anton Tsitou](/maintainers/wolfy-j)[@wolfy-j](https://github.com/wolfy-j)

---

Top Contributors

[![spiralbot](https://avatars.githubusercontent.com/u/100867204?v=4)](https://github.com/spiralbot "spiralbot (145 commits)")[![SerafimArts](https://avatars.githubusercontent.com/u/2461257?v=4)](https://github.com/SerafimArts "SerafimArts (15 commits)")[![butschster](https://avatars.githubusercontent.com/u/773481?v=4)](https://github.com/butschster "butschster (4 commits)")[![roxblnfk](https://avatars.githubusercontent.com/u/4152481?v=4)](https://github.com/roxblnfk "roxblnfk (4 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (2 commits)")

---

Tags

class-locatorinvocation-locatorsspiralstatic-analysistokenizer

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/spiral-tokenizer/health.svg)

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

###  Alternatives

[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k235.4M9.7k](/packages/symfony-framework-bundle)[laravel/pennant

A simple, lightweight library for managing feature flags.

57711.1M53](/packages/laravel-pennant)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19562.3M1.3k](/packages/drupal-core)[coenjacobs/mozart

Composes all dependencies as a package inside a WordPress plugin

4723.6M20](/packages/coenjacobs-mozart)[api-platform/symfony

Symfony API Platform integration

323.2M67](/packages/api-platform-symfony)[acquia/orca

A tool for testing a company's software packages together in the context of a realistic, functioning, best practices Drupal build

32902.4k](/packages/acquia-orca)

PHPackages © 2026

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