You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Laravel 8 and using "torann/geoip": "^3.0.2"
I followed all steps and using maxmind_database for service. i also updated it in geoip.php file. I added my mmdb file inside storage/app folder. After doing all this. I am trying to call GeoIP class in my controller like this:
use Torann\GeoIP\Facades\GeoIP;
public function index()
{
dd(GeoIP($ip = '127.0.0.1'));
$data = array(
'title'=>'My App',
);
return view('home')->with($data);;
}
But gives me an error
Call to undefined function camel_case()
Kindly guide what am I missing.
The text was updated successfully, but these errors were encountered:
I don't think this issue relates to this package, maybe you are using Laravels string functions do some stuff, can you check?
with the latest version it uses Str::camel()
I am using Laravel 8 and using "torann/geoip": "^3.0.2"
I followed all steps and using maxmind_database for service. i also updated it in geoip.php file. I added my mmdb file inside storage/app folder. After doing all this. I am trying to call GeoIP class in my controller like this:
But gives me an error
Call to undefined function camel_case()
Kindly guide what am I missing.
The text was updated successfully, but these errors were encountered: