PHPackages                             kostaspt/namespace-checker - 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. kostaspt/namespace-checker

Abandoned → [kostaspt/php-ns-fixer](/?search=kostaspt%2Fphp-ns-fixer)ArchivedApplication[Utility &amp; Helpers](/categories/utility)

kostaspt/namespace-checker
==========================

Find wrong namespaces in your PHP projects

v1.0.0(7y ago)41601[3 PRs](https://github.com/kostaspt/php-ns-fixer/pulls)MITPHPPHP &gt;=7.1

Since Aug 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/kostaspt/php-ns-fixer)[ Packagist](https://packagist.org/packages/kostaspt/namespace-checker)[ RSS](/packages/kostaspt-namespace-checker/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)Dependencies (7)Versions (8)Used By (0)

PHP Namespace Fixer
===================

[](#php-namespace-fixer)

[![Latest Version on Packagist](https://camo.githubusercontent.com/57fffa22195db8683769d14ff374e55986f0bdb6bb52e9983a542110706ef52e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6f7374617370742f7068702d6e732d66697865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kostaspt/php-ns-fixer)[![Build Status](https://camo.githubusercontent.com/f4f635ad616ad478a6a25507e4c8755a164b0f7b22c7f88b7e9efb169ccbbb4e/68747470733a2f2f7472617669732d63692e6f72672f6b6f7374617370742f7068702d6e732d66697865722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kostaspt/php-ns-fixer)[![Code Coverage](https://camo.githubusercontent.com/447cab32e1de8f3b554b53a5b7814a05fd56cfd0cbf670ad98dec8bd2cb47324/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b6f7374617370742f7068702d6e732d66697865722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/kostaspt/php-ns-fixer/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/1602d0afc62e177a9963a4b684f789bb5391f811ef67a6dc4d2917c3907d8965/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b6f7374617370742f7068702d6e732d66697865722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/kostaspt/php-ns-fixer/?branch=master)[![Dependabot Status](https://camo.githubusercontent.com/bb1a16763bfd040a6f76a4ca2d7687975b3b334ea0e0594d1a92e900306347b7/68747470733a2f2f6170692e646570656e6461626f742e636f6d2f6261646765732f7374617475733f686f73743d676974687562267265706f3d6b6f7374617370742f7068702d6e732d6669786572)](https://dependabot.com)

> Automatically find (and fix) wrong namespaces in your PHP projects.

Install
-------

[](#install)

```
$ composer global require kostaspt/php-ns-fixer
```

Usage
-----

[](#usage)

```
$ php-ns-fixer fix src --prefix=App
$ php-ns-fixer fix tests --dry-run --skip-empty
```

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 82.1% 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 ~181 days

Total

4

Last Release

2655d ago

Major Versions

v0.3.0 → v1.0.02019-02-01

PHP version history (2 changes)v0.1.0PHP &gt;=7.0

v1.0.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/6367c9c35bbb68c2b8f3e4027b87703e1d367305af360a5b5cfae28d595564aa?d=identicon)[kostaspt](/maintainers/kostaspt)

---

Top Contributors

[![kostaspt](https://avatars.githubusercontent.com/u/684680?v=4)](https://github.com/kostaspt "kostaspt (64 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (7 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (7 commits)")

---

Tags

fixernamespacephpwrong-namespacesnamespace

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kostaspt-namespace-checker/health.svg)

```
[![Health](https://phpackages.com/badges/kostaspt-namespace-checker/health.svg)](https://phpackages.com/packages/kostaspt-namespace-checker)
```

###  Alternatives

[phpro/soap-client

A general purpose SoapClient library

8885.6M46](/packages/phpro-soap-client)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k17](/packages/civicrm-civicrm-core)[friendsoftypo3/content-blocks

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

96374.6k23](/packages/friendsoftypo3-content-blocks)[shyim/danger-php

Port of danger to PHP

8544.9k](/packages/shyim-danger-php)[aedart/athenaeum

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

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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