justfeel/response

A plugin made for custom response

Maintainers

Package info

github.com/fsarikaya96/laravel-custom-response

Issues

pkg:composer/justfeel/response

Statistics

Installs: 2 110

Dependents: 0

Suggesters: 0

Stars: 0

v1.0 2023-01-29 08:09 UTC

This package is not auto-updated.

Last update: 2026-04-06 00:07:15 UTC


README

License SIZE

Installation

Install the package in a Laravel Custom Response via Composer:

  # Install custom-response

  composer require justfeel/response
  

Usage

  # If successful
  return ResponseResult::generate(true, "Successful", ResponseCodes::HTTP_OK);
  
  #If unsuccessful
  return ResponseResult::generate(false, "Unauthorization", ResponseCodes::HTTP_UNAUTHORIZED);