awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
doctrine avatar

doctrine/inflector

0
View on GitHub↗
11,349 stars·134 forks·PHP·mit·15 viewswww.doctrine-project.org/projects/inflector.html↗

Inflector

Inflector is a linguistic data processing library designed to handle string transformations and grammatical inflection within PHP applications. It provides a centralized engine for converting words between singular and plural forms and standardizing text formats to ensure consistency across dynamic content and codebase naming conventions.

The library distinguishes itself through a rule-based inflection engine that utilizes regular expression pattern matching to apply grammatical logic. Developers can extend this functionality using a configurable registry, which allows for the injection or overriding of rules to support internationalized content localization and specific language requirements.

Beyond core inflection, the tool includes a normalization pipeline that processes raw input into URL-safe slugs by removing accents and special characters. It also supports comprehensive string casing transformations, enabling the conversion of text between various programming formats such as camelCase, PascalCase, and snake_case.

Features

  • Inflection Engines - Automates the conversion of words between singular and plural forms to ensure grammatical accuracy.
  • Text String Manipulation Utilities - Normalizes text into URL-safe slugs and applies grammatical rules to dynamic content.
  • Data & Text Processing - Provides a centralized engine for linguistic inflection and text format standardization.
  • String Utilities - Converts words between singular and plural forms and transforms string casing for consistent naming.
  • Pluralization Rules - Automates pluralization logic to ensure correct language usage in dynamic application interfaces.
  • Naming Conventions - Enforces consistent naming standards across codebases by transforming variable and class identifiers.
  • Naming Conventions - Standardizes naming conventions by transforming strings between common programming formats.
  • Slug Generators - Generates search-engine-friendly web addresses from raw text strings.
  • String Validation and Normalization - Sanitizes raw text by removing accents and special characters to produce URL-friendly slugs.
  • Internationalization & Localization - Provides inflection logic to ensure accurate and natural text output across different languages.
  • Text Normalization - Normalizes user input by removing special characters and accents for clean data storage.
  • Rule Configuration Engines - Applies prioritized, configurable linguistic rules to determine correct word transformations.
  • Grammatical Localization Rules - Supports internationalized content by allowing language-specific grammatical inflection rules.
  • Configuration Registries - Maintains a centralized, prioritized registry for managing and overriding linguistic inflection rules.
  • Content Format Transformers - Transforms text between various programming casing styles like camelCase and snake_case.

Star history

Star history chart for doctrine/inflectorStar history chart for doctrine/inflector

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Inflector

Similar open-source projects, ranked by how many features they share with Inflector.
  • sparanoid/chinese-copywriting-guidelinessparanoid avatar

    sparanoid/chinese-copywriting-guidelines

    15,218View on GitHub↗

    This project provides a comprehensive style guide and automated framework for standardizing Chinese typography and technical writing. It establishes a formal set of rules for formatting, spacing, and punctuation, ensuring that mixed-language content maintains professional consistency and visual clarity. The tool distinguishes itself by enforcing specific typographic standards, such as normalizing character widths, managing mixed-language spacing, and standardizing quotation marks and punctuation. It utilizes a deterministic processing pipeline to apply these rules across documentation and sou

    chinesechinese-simplifiedchinese-traditional
    View on GitHub↗15,218
  • prestodb/prestoprestodb avatar

    prestodb/presto

    16,711View on GitHub↗

    Presto is a distributed SQL query engine designed for high-performance analytical processing across heterogeneous data sources. It functions as a data federation platform and massively parallel processing engine, allowing users to execute interactive queries against diverse storage systems without requiring data migration. By mapping remote metadata and structures to a unified relational namespace, it enables seamless cross-platform analysis through a standard SQL interface. The engine distinguishes itself through a pluggable connector architecture and a shared-nothing distributed processing

    Javabig-datadatahadoop
    View on GitHub↗16,711
  • kettanaito/naming-cheatsheetkettanaito avatar

    kettanaito/naming-cheatsheet

    14,200View on GitHub↗

    This project is a code naming convention guide and programming style guide. It provides a language-agnostic set of rules for naming variables and functions to improve the readability and cohesiveness of a codebase. The guide implements a variable naming framework that organizes identifiers using abstract, high-context, and low-context patterns. It also defines a specific function naming pattern based on a prefix-action-context system to communicate the operational domain and intended results of a function. The system covers broader standards for code readability optimization, including the u

    actioncheatsheetguideline
    View on GitHub↗14,200
  • svenfuchs/rails-i18nsvenfuchs avatar

    svenfuchs/rails-i18n

    4,031View on GitHub↗

    This project is a Ruby on Rails internationalization locale library that provides a comprehensive set of pre-translated translation files, currency symbols, and language-specific rules for numerous global languages. It serves as a multilingual translation dataset and a linguistic rule engine to ensure grammatically correct output across different alphabets and scripts. The system includes specialized tools for locale data validation and internationalization formatting. These utilities verify the structural integrity of translation files, identify missing keys or broken data, and normalize fil

    Ruby
    View on GitHub↗4,031
See all 30 alternatives to Inflector→

Frequently asked questions

What does doctrine/inflector do?

Inflector is a linguistic data processing library designed to handle string transformations and grammatical inflection within PHP applications. It provides a centralized engine for converting words between singular and plural forms and standardizing text formats to ensure consistency across dynamic content and codebase naming conventions.

What are the main features of doctrine/inflector?

The main features of doctrine/inflector are: Inflection Engines, Text String Manipulation Utilities, Data & Text Processing, String Utilities, Pluralization Rules, Naming Conventions, Slug Generators, String Validation and Normalization.

What are some open-source alternatives to doctrine/inflector?

Open-source alternatives to doctrine/inflector include: sparanoid/chinese-copywriting-guidelines — This project provides a comprehensive style guide and automated framework for standardizing Chinese typography and… prestodb/presto — Presto is a distributed SQL query engine designed for high-performance analytical processing across heterogeneous data… kettanaito/naming-cheatsheet — This project is a code naming convention guide and programming style guide. It provides a language-agnostic set of… svenfuchs/rails-i18n — This project is a Ruby on Rails internationalization locale library that provides a comprehensive set of… raywenderlich/swift-style-guide — This project is a collection of Swift coding standards and static analysis rules designed to ensure consistency across… ryanmcdermott/clean-code-javascript — This project is a collection of engineering guidelines and best practices for writing readable and maintainable…