oodle/inflect
Lightweight PHP inflector for converting English words between singular and plural forms. Install via Composer and use static methods like Inflect::singularize('tests') and Inflect::pluralize('test') for quick string inflection.
User::find($id) vs. Users::all()).Post ↔ Posts).user_id ↔ user_ids).php artisan commands).Intl or a dedicated i18n library.For Executives: *"This package solves a hidden technical debt problem: inconsistent noun forms across our app. For example, ‘1 user’ vs. ‘5 users’ currently requires manual checks in 12 places. By adopting Inflect, we’ll:
For Engineers:
*"Inflect is a lightweight, memoized inflector for PHP/Laravel that handles singular/plural forms (e.g., tests ↔ test) with zero dependencies. Key benefits:
How can I help you explore Laravel packages today?