Download the PHP package mrizki28/handler-api-response without Composer
On this page you can find all versions of the php package mrizki28/handler-api-response. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mrizki28/handler-api-response
More information about mrizki28/handler-api-response
Files in mrizki28/handler-api-response
Download mrizki28/handler-api-response
More information about mrizki28/handler-api-response
Files in mrizki28/handler-api-response
Vendor mrizki28
Package handler-api-response
Short Description is a PHP package designed to simplify and standardize API response management in your applications. With this package, you can easily send success responses, error responses, and validation error responses in a consistent and structured format. This package aims to enhance the efficiency and ease of API development
License MIT
Package handler-api-response
Short Description is a PHP package designed to simplify and standardize API response management in your applications. With this package, you can easily send success responses, error responses, and validation error responses in a consistent and structured format. This package aims to enhance the efficiency and ease of API development
License MIT
Please rate this library. Is it a good library?
Informations about the package handler-api-response
About
simple package to help you in handling json responses
Requirements
- PHP
^8.2
Installation
Example
Available methods
ApiResponse.success($data , $message, $code)
$data array
$message string
$code int
default return 200
ApiResponse.notFound($message, $code)
$message string
$code int
default return 404
ApiResponse.error($th, $message, $code)
$message string
$th \Throwable
$code int
default return 500
Contribution
Any ideas are welcome. Feel free to submit any issues or pull requests.
License
The MIT License (MIT). Please see License File for more information.
All versions of handler-api-response with dependencies
PHP Build Version
Package Version
The package mrizki28/handler-api-response contains the following files
Loading the files please wait ....