Laravel:添加了一个可以从ip地址获取地址但显示错误stevebauman / location的包

I have updated the composer and run the php artisan publish commands as per their advice in this link

https://github.com/stevebauman/location

This is the program i run

Getting a user location (automatic IP detection):

$location = Location::get(); Getting a user location with a specific IP:

Location::get('192.168.1.1');

This is the error when i run the program

I think you forgot to run composer install or composer update. The error shown that the library is not exist in your project.