Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Case Converter Laravel Package

jawira/case-converter

Convert strings between 13 naming conventions with jawira/case-converter: camel, Pascal, snake, Ada, macro, kebab, train, Cobol, title, sentence, dot and more. It auto-detects the input format, offers a factory, and supports i18n.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables consistent data formatting across APIs, databases, and external integrations by supporting 13 standard naming conventions.
  • Reduces custom code for string case transformations, accelerating feature development (e.g., API response normalization, config file handling).
  • Supports multi-system interoperability (e.g., converting snake_case DB fields to camelCase for JSON payloads).
  • Eliminates manual error-prone string manipulation, improving data integrity and developer productivity.
  • As of v3.7.0, aligns with a modern runtime baseline (PHP 8.2+), which simplifies security patching and upgrade planning for teams already standardizing on supported PHP versions.

When to Consider This Package

  • When your project requires frequent conversions between multiple naming conventions (e.g., API layer, data import/export tools).
  • When maintaining custom case-conversion logic would introduce technical debt or inconsistencies.
  • When using Laravel on PHP 8.2 or newer and needing a lightweight, well-tested solution for common case transformations. v3.7.0 raised the minimum supported PHP version to 8.2, so confirm your runtime and Laravel version (Laravel 11+ is a natural fit; Laravel 9/10 projects still on PHP 8.0/8.1 must stay on v3.6.x or plan an upgrade).
  • Look elsewhere if: only a single case conversion is needed (simple helper functions suffice), the project uses non-PHP environments where this package isn't applicable, or you are locked to PHP 8.0/8.1 with no near-term upgrade path.

How to Pitch It (Stakeholders)

  • "This package eliminates manual string case conversions, saving 5-10 hours of engineering time per feature by providing a battle-tested solution for 13 industry-standard naming conventions. It ensures data consistency across APIs, databases, and third-party integrations while reducing bugs and maintenance costs. With MIT licensing and minimal overhead, it's a low-risk, high-impact dependency that lets your team focus on core product features instead of reinventing basic string utilities."
  • Note for engineering: v3.7.0 is a small maintenance release (no new features, no new public API) that raises the PHP requirement to 8.2 and refreshes dev tooling/documentation. Treat it as a low-risk upgrade if your runtime is already 8.2+; otherwise pin to v3.6.x. No functional migration work is expected.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
encore2/laravel-admin2
cboxdk/laravel-console-kit
shapecode/doctrine-dbal-datetimeutc
gilads-otiannoh254/inertia-protocol
dakiquang/laravel-oauth-refresh-lock
woda/laravel-worktrees
dalefranks/ramasite
faghy/laracashbook
roundly-consulting/google-places-for-laravel
roundly-consulting/kubernetes-api-for-laravel
roundly-consulting/plausible-for-laravel
gvp/gvp-laravel-template
metasyncsite/laravel-metasync-client
roundly-consulting/onboarding-for-laravel
adachsoft/cli-process-tester
adachsoft/changelog-linter
adachsoft/collection
adachsoft/php-code-style
adachsoft/api-version-bundle
cgv/localized-resource