Package Data | |
---|---|
Maintainer Username: | omerkamcili |
Maintainer Contact: | okamcili@smartover.net (Ömer Kamçılı) |
Package Create Date: | 2019-01-09 |
Package Last Update: | 2019-08-08 |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2025-02-06 03:12:21 |
Package Statistics | |
---|---|
Total Downloads: | 1,758 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
composer require smart-over/api-response
use SmartOver\ApiResponse\JsonResponse;
$response = (new JsonResponse())->render();
$response = (new JsonResponse('YOUR-ERROR-CODE', 500))->render();