PHPackages                             nathanjosiah/parse-use-statements - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nathanjosiah/parse-use-statements

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nathanjosiah/parse-use-statements
=================================

Parse use statements for a reflection object

0.3.0(4y ago)07.5k↓43.8%BSD-3-ClausePHPPHP &gt;=7.4

Since Sep 4Pushed 4y agoCompare

[ Source](https://github.com/nathanjosiah/ParseUseStatements)[ Packagist](https://packagist.org/packages/nathanjosiah/parse-use-statements)[ Docs](http://kdyby.org)[ RSS](/packages/nathanjosiah-parse-use-statements/feed)WikiDiscussions master Synced 1mo ago

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

Nathanjosiah/ParseUseStatements
===============================

[](#nathanjosiahparseusestatements)

This library is extracted from [PhpReflection](https://github.com/nette/di/blob/ed1b90255688b08b87ae641f2bf1dfcba586ae5b/src/DI/PhpReflection.php) class from [nette/di](https://packagist.org/packages/nette/di). The original class is marked as internal and therefore BC can be broken at any time. Also installing whole nette/di package means installing a lot of unnecessary boilerplate for just this feature - hence this package.

Go say thank you to [the original author](https://davidgrudl.com/) and [contributors](https://github.com/nette/di/graphs/contributors) for me.

Installation
------------

[](#installation)

```
$ composer require nathanjosiah/parse-use-statements
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.8% 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 ~946 days

Total

3

Last Release

1652d ago

PHP version history (2 changes)v0.1PHP &gt;=5.4

0.3.0PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/665104?v=4)[Nathan Smith](/maintainers/nathanjosiah)[@nathanjosiah](https://github.com/nathanjosiah)

---

Top Contributors

[![nathanjosiah](https://avatars.githubusercontent.com/u/665104?v=4)](https://github.com/nathanjosiah "nathanjosiah (10 commits)")[![fprochazka](https://avatars.githubusercontent.com/u/158625?v=4)](https://github.com/fprochazka "fprochazka (5 commits)")[![dg](https://avatars.githubusercontent.com/u/194960?v=4)](https://github.com/dg "dg (1 commits)")[![jiripudil](https://avatars.githubusercontent.com/u/1042159?v=4)](https://github.com/jiripudil "jiripudil (1 commits)")

---

Tags

reflectionclassimportparsekdybyusestatementexpandusesusages

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nathanjosiah-parse-use-statements/health.svg)

```
[![Health](https://phpackages.com/badges/nathanjosiah-parse-use-statements/health.svg)](https://phpackages.com/packages/nathanjosiah-parse-use-statements)
```

###  Alternatives

[phpdocumentor/reflection-common

Common reflection classes used by phpdocumentor to reflect the code structure

9.1k706.8M26](/packages/phpdocumentor-reflection-common)[symfony/property-access

Provides functions to read and write from/to an object or array using a simple string notation

2.8k295.3M2.5k](/packages/symfony-property-access)[nette/robot-loader

🍀 Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.

89352.7M321](/packages/nette-robot-loader)[classpreloader/classpreloader

Helps class loading performance by generating a single PHP file containing all of the autoloaded files for a specific use case

37642.4M32](/packages/classpreloader-classpreloader)[enqueue/dsn

Parse DSN

12525.5M45](/packages/enqueue-dsn)[phpdocumentor/reflection

Reflection library to do Static Analysis for PHP Projects

12521.4M109](/packages/phpdocumentor-reflection)

PHPackages © 2026

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