PHPackages                             fyrts/psr-4-case-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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. fyrts/psr-4-case-checker

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

fyrts/psr-4-case-checker
========================

Filename validator for PSR-4 autoloader case-sensitivity issues.

0.1.0(6y ago)123MITPHPPHP ^7.0CI failing

Since Apr 9Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Fyrts/psr-4-case-checker)[ Packagist](https://packagist.org/packages/fyrts/psr-4-case-checker)[ RSS](/packages/fyrts-psr-4-case-checker/feed)WikiDiscussions master Synced yesterday

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

PSR-4 Case Checker
==================

[](#psr-4-case-checker)

Developing a project that uses a PSR-4 autoloader on an environment with a case-insensitive filesystem could cause issues on deployment, as typos in filenames might not be spotted before they're pushed to case-sensitive production environments. This little PHP library keeps an eye on the casing of your filenames during development, and throws an exception when it spots any mismatches.

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

[](#installation)

The package is currently only supported in projects that make use of Composer:

```
composer require fyrts/psr-4-case-checker --dev

```

It is discouraged to use the package for production purposes, as it might have a perceptible impact on performance.

Usage
-----

[](#usage)

No configuration or initialization is required, as the package is loaded automatically by Composer.

Any casing inconsistencies in classnames or namespaces will cause the package to throw an exception of type `PSR4CaseChecker\ClassnameCasingException`.

```
// The following would trigger an exception
$result = MyClass::method(); // MyClass being stored in myClass.php

// Incorrect namespaces would also trigger an exception
$result = \MyNamespace\MyClass::method(); // MyClass being stored in mynamespace/MyClass.php
```

License
-------

[](#license)

`fyrts/psr-4-case-checker` is licensed under the MIT License (MIT). Please see [LICENSE](LICENSE) for more information.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

Unknown

Total

1

Last Release

2224d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2fe7a44c5e07cf8dd0eed2941b88dcab03342fb149ede5347b3467bc17691d4e?d=identicon)[Fyrts](/maintainers/Fyrts)

---

Top Contributors

[![fyrts](https://avatars.githubusercontent.com/u/5918336?v=4)](https://github.com/fyrts "fyrts (1 commits)")

---

Tags

phpautoloadPSR-4case sensitivecase sensitivity

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fyrts-psr-4-case-checker/health.svg)

```
[![Health](https://phpackages.com/badges/fyrts-psr-4-case-checker/health.svg)](https://phpackages.com/packages/fyrts-psr-4-case-checker)
```

###  Alternatives

[icamys/php-sitemap-generator

Simple PHP sitemap generator.

175342.8k6](/packages/icamys-php-sitemap-generator)[aura/autoload

Provides a PSR-4 compliant autoloader implementation.

94476.8k12](/packages/aura-autoload)[yidas/codeigniter-psr4-autoload

CodeIgniter 3 PSR-4 Autoloader for Application

5419.5k3](/packages/yidas-codeigniter-psr4-autoload)

PHPackages © 2026

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