misatotremor/case-bundle
AvroCaseBundle converts strings and arrays of strings between camelCase, kebab-case, PascalCase, Title Case, and underscore_case. Includes Twig filters (camel, kebab, pascal, title, underscore) and a configurable CaseConverter service for Symfony.
Illuminate\Support\Str, not buy this Symfony bundle.snake_case database fields, camelCase JSON, PascalCase frontend components). The package is useful as a reference for the conversion matrix, even if implementation stays Laravel-native.['user_id', 'created_at'] to ['userId', 'createdAt']. In Laravel this is a one-line Collection::map with Str::camel, so the package mainly validates the use case rather than driving adoption.CaseConverter service has real value.Str::camel, Str::snake, Str::studly, Str::kebab, and Str::title cover nearly all needs; array conversion is a Collection::map.Avro\CaseBundle\Util\CaseConverter as a singleton, skip bundle registration and Twig, and wrap it in your own service. If that wrapper is all you need, write the wrapper natively instead.For Executives: “We evaluated a small string-case utility for standardizing naming across APIs, imports, and templates. It works, but it is a Symfony bundle with very low community traction and is not a natural fit for our Laravel stack. Laravel already provides equivalent helpers, and the remaining gaps are trivial. Recommendation: do not add this as a production dependency for Laravel-only work; instead standardize on a small internal helper. This reduces dependency risk, keeps onboarding simple, and still eliminates scattered ad-hoc conversion code.”
For Engineering: “The package exposes a simple, stateless CaseConverter for camelCase, PascalCase, Title Case, underscore_case, and kebab-case, including arrays. In Laravel we would ignore the Symfony bundle and Twig extension, bind only the converter class, and wrap it behind our own service. But Str already covers camel, snake, studly, kebab, and title; array conversion is a Collection::map. Only adopt this if we specifically need a shared converter in a mixed Symfony/Laravel codebase. Otherwise build a tiny internal helper with tests for null, empty, and Unicode input.”
For Architects: “This is a low-complexity utility with poor stack fit for Laravel and elevated ownership risk because it is a fork with 1 star and no dependents. It is best treated as a reference implementation, not a strategic dependency. If adopted, isolate it behind a facade, skip Symfony bundle wiring, verify it does not bloat autoloading with unused Symfony packages, and keep extraction to native Str-based code as the exit plan. The architectural value is the centralization pattern, not the package itself.”
How can I help you explore Laravel packages today?