mmucklo/inflect
A lightweight PHP inflector for converting English words between singular and plural forms and transforming strings into camelCase, snake_case, humanized, and class-name formats. Useful for ORM table naming, scaffolding, and any app that needs reliable word inflection without heavy dependencies.
mmucklo/inflect as an internal performance enabler, not a user-facing feature. It is relevant only if the roadmap includes bulk imports/exports, code generation, dynamic schema/table/column naming, API resource transformations, or search-index field normalization where inflection is called repeatedly.Str / Doctrine Inflector unless this package clearly reduces implementation and maintenance effort. Buying/adopting a third-party package for a thin caching utility is hard to justify without measured performance gains.NOASSERTION license. Treat it as an experiment until legal review clarifies licensing and engineering verifies compatibility, tests, and maintenance posture.Str / Doctrine Inflector behavior.Str, Symfony String, or Doctrine Inflector already meet requirements.Str/Doctrine Inflector, verify irregular and uncountable cases, and confirm PHP/Laravel compatibility. If gains are marginal, implement a small cache internally instead of taking on the dependency.”How can I help you explore Laravel packages today?