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.
Str helpers globally without evidence that memoization materially improves a measured bottleneck.NOASSERTION licensing is a legal blocker until clarified. With 40 stars, zero dependents, and no clear vendor support, ecosystem validation is weak. Memoization also introduces lifecycle risk in long-running workers or Laravel Octane: unbounded caches can grow, and cached results can become stale if inflection rules or locale change at runtime.Str or Doctrine Inflector in a representative benchmark? Can we replace it quickly if abandoned?Inflector interface or service and bind the package behind it. This keeps Laravel code isolated from package-specific behavior and allows fallback to Illuminate\Support\Str or Doctrine Inflector.How can I help you explore Laravel packages today?