This repository lets your API users pass in and receive camelCased or snake_cased keys while your app receives and produces snake_cased ones.
matthv/laravel-dingo-transform is a Laravel package for this repository lets your api users pass in and receive camelcased or snake_cased keys while your app receives and produces snake_cased ones..
It currently has 1 GitHub stars and 13.334 downloads on Packagist (latest version v2.0.0).
Install it with composer require matthv/laravel-dingo-transform.
Discover more Laravel packages by matthv
or browse all Laravel packages to compare alternatives.
Last updated
This repository extends the Dingo API package. It lets your API users pass in and receive camelCased or snake_cased keys while your app receives and produces snake_cased ones.
composer require 'matthv/laravel-dingo-transform' '~2.0'
Include a X-Key-Inflection header with values of camel or snake in your JSON API requests.

This repo is inspired by the gem "olive_branch"