PHP code example of drdre4life2 / laravel-api-response
1. Go to this page and download the library: Download drdre4life2/laravel-api-response library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
drdre4life2 / laravel-api-response example snippets
namespace App\Http\Controllers;
use Drdre4life2\ApiResponse\Traits\HasApiResponse;
abstract class Controller
{
use HasApiResponse;
}