doctrine/inflector

Doctrine Inflector is a small library that can perform string manipulations with regard to uppercase/lowercase and singular/plural forms of words.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 39 minutes ago
Added to GitGenius on September 5th, 2026
Created on January 10th, 2013
Open Issues & Pull Requests: 18 (+0)
GitHub issues: Enabled
Number of forks: 143
Total Stargazers: 11,340 (+0)
Total Subscribers: 19 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 506.4 days
Mean response time: 431.4 days
90th percentile: 667.9 days
Tracked items: 3

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 0
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • Bug (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Doctrine Inflector is a PHP library that performs string manipulations for converting between uppercase and lowercase forms and singular and plural forms of words.

The library addresses the common need to programmatically transform word forms in applications that work with natural language text. It provides utilities for inflecting strings according to English language rules, handling both case conversion and number agreement. This is particularly useful in scenarios where code needs to generate grammatically correct strings dynamically, such as constructing database table names from class names, generating API endpoints, or formatting user-facing text.

The tool suits PHP projects that require reliable word inflection without implementing custom transformation logic. It is especially valuable in frameworks and libraries that need to derive naming conventions from user input or class definitions. Developers working on object-relational mapping systems, API generators, or any application performing automated string generation will find this library applicable.

The project maintains a stable codebase with focused scope. Development activity shows consistent maintenance of the core inflection functionality without major feature expansion, indicating a mature library that prioritizes reliability over adding new capabilities. The project receives regular updates to address edge cases and improve existing inflection rules rather than introducing substantial new directions.