Skip to content

Instantly share code, notes, and snippets.

View azzamimani's full-sized avatar
🏠
Working from home

Azzam Firyal Imani azzamimani

🏠
Working from home
  • Purwokerto, Indonesia
View GitHub Profile
@galpratama
galpratama / ResponseFormatter.php
Created February 19, 2020 11:18
API Response Formatter
<?php
namespace App\Http\Controllers\API;
class ResponseFormatter
{
protected static $response = [
'meta' => [
'code' => 200,
'status' => 'success',