PHPackages                             leovie/php-nf - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. leovie/php-nf

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

leovie/php-nf
=============

Validates php namespaces

v0.1.7(7y ago)03MITPHP

Since Mar 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/LeoVie/php-nf)[ Packagist](https://packagist.org/packages/leovie/php-nf)[ Docs](https://github.com/LeoVie/php-namespace-validator)[ RSS](/packages/leovie-php-nf/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (3)Versions (11)Used By (0)

php-nf (PHP Namespace Fixer)
============================

[](#php-nf-php-namespace-fixer)

Validates if the namespaces of php files match their location in the file system (psr-4).

Usage
=====

[](#usage)

Run via bin/php-nf

TODO: Try to fix found invalid namespaces

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Every ~0 days

Total

8

Last Release

2651d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/876f842b58e2a0e54d85eddfb8ed1b599586e94d9071efaddd208383ea85932c?d=identicon)[leo.viezens@web.de](/maintainers/leo.viezens@web.de)

---

Top Contributors

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

---

Tags

namespace

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/leovie-php-nf/health.svg)

```
[![Health](https://phpackages.com/badges/leovie-php-nf/health.svg)](https://phpackages.com/packages/leovie-php-nf)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[phparkitect/phparkitect

Enforce architectural constraints in your PHP applications

9184.1M24](/packages/phparkitect-phparkitect)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M528](/packages/shopware-core)[testo/testo

A lightweight PHP testing framework.

1943.4k38](/packages/testo-testo)[aeliot/todo-registrar

Register TODOs from source code in issue tracker

153.0k](/packages/aeliot-todo-registrar)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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