Name |
Description |
ConvertsParameters |
Use this trait in your base form request to convert all camel cased parameters to
snake case and boolean strings to PHP booleans when accessing the input from
the controller. |
HandlesApiErrors |
Use this trait in your exceptions handler to give you access to methods you may
use to let the package catch and handle any API exceptions. |
MakesApiRequests |
Use this trait in your base test case to give you some helper methods for
integration testing the API responses generated by the package. |
RespondsWithJson |
Use this trait in your base controllere for quick access to the responder service
methods in your controllers. |
ThrowsApiErrors |
Use this trait in your base form request to override the exceptions thrown when
validation or authorization fails. This allows the package to render proper
API responses through the HandlesApiErrors trait. |