mattketmo/camel
Laravel-friendly utilities for converting strings, keys, and arrays between camelCase, snake_case, StudlyCase and more. Handy for normalizing request/response payloads, config keys, and API data with simple helpers and minimal setup.
user_name to userName for frontend consumption).old_SNAKE_CASE to camelCase for modern APIs).lodash suffice).Str::camel() in Laravel) and rejects third-party dependencies for simplicity.For Executives:
"This tiny, MIT-licensed PHP library solves a common but tedious problem: ensuring consistent text casing across our systems. By adopting mattketmo/camel, we can standardize how data flows between our backend (e.g., snake_case databases) and frontend (e.g., camelCase APIs), reducing bugs and developer friction. It’s a lightweight, zero-maintenance solution that pays for itself in productivity—no new hires or infrastructure needed."
For Engineers: *"This package is a drop-in tool for handling case transformations in PHP/Laravel. Key benefits:
Str:: helpers or standalone.user_first_name → userFirstName for API responses.UserFirstName → user_first_name for DB storage).composer.json and document its use in the style guide."*How can I help you explore Laravel packages today?