Download the PHP package coderscantina/laravel-transform-requests without Composer
On this page you can find all versions of the php package coderscantina/laravel-transform-requests. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download coderscantina/laravel-transform-requests
More information about coderscantina/laravel-transform-requests
Files in coderscantina/laravel-transform-requests
Download coderscantina/laravel-transform-requests
More information about coderscantina/laravel-transform-requests
Files in coderscantina/laravel-transform-requests
Vendor coderscantina
Package laravel-transform-requests
Short Description A form request wrapper for applying transformations to incoming requests
License MIT
Package laravel-transform-requests
Short Description A form request wrapper for applying transformations to incoming requests
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-transform-requests
Laravel Transform Request from Coder's Cantina
A form request wrapper for applying transformations to incoming requests
Features
- Use
TransformRequest
to specify an array of key replacements - Use
ApiRequest
to transform all input from camelCase to snake_case
Getting started
- Install this package
Install
Require this package with composer:
Usage
Define a new ApiRequest:
Define a new TransformRequest:
- Override the
$transform
field to define your transformations - To further customize the transformation override
getTransform
In your application, use the request as you would any other request:
Testing
All versions of laravel-transform-requests with dependencies
PHP Build Version
Package Version
The package coderscantina/laravel-transform-requests contains the following files
Loading the files please wait ....