Answer the question
In order to leave comments, you need to log in
How to resolve this GeoIP error in Laravel?
delivered two packages
"geoip2/geoip2": "^2.11",
"torann/geoip": "^3.0",
<?php
namespace App\Http\Controllers\Api\V1\GeoIp;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Torann\GeoIP\Facades\GeoIP;
class GeoController extends Controller
{
public function index()
{
return response()->json(geoip());
}
}
This cache store does not support tagging.
Answer the question
In order to leave comments, you need to log in
Change the cache type in the config, file and database do not support tagging.
You can put a radish / memcache or just an array if the cache is not used at all.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question