Laravel-Geographical
Laravel-Geographical copied to clipboard
Call to undefined method App\\Model::geofence()
I follow the steps what you said in read me.
I am not sure about it is a right way I did though. Is there any solution? Can I get examples?
I am using it on Laravel 7 with the column you suggested.

Geographical is a Trait Use it in the model like this
<?php
use Malhal\Geographical\Geographical;
class User extends Authenticatable
{
use Geographical;
....
Can I suggest you add the line
use Malhal\Geographical\Geographical;
to your documentation page?
Thanks will do and by the way you can edit that page yourself and it does a pull request which I accept.