PHP code example of traesh / laravel-uppercamelcase-json
1. Go to this page and download the library: Download traesh/laravel-uppercamelcase-json library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
traesh / laravel-uppercamelcase-json example snippets
return response()->json($model);
// => ['UserName' => 'foo', 'UserKey' => 'bar', ...]
'provider' => [
// default providers
// ...
Traesh\LaravelUpperCamelCaseJson\UpperCamelCaseJsonResponseServiceProvider::class,
],