Comments (3)
Geographical is a Trait
Use it in the model like this
<?php
use Malhal\Geographical\Geographical;
class User extends Authenticatable
{
use Geographical;
....
from laravel-geographical.
Can I suggest you add the line
use Malhal\Geographical\Geographical;
to your documentation page?
from laravel-geographical.
Thanks will do and by the way you can edit that page yourself and it does a pull request which I accept.
from laravel-geographical.
Related Issues (20)
- Query select() issue when using distance column HOT 7
- SQLite trig functions HOT 3
- Short Video for demo
- Query Builder: Impossible to get the distance in a query builder when using eloquent relations HOT 4
- Syntax error or access violation: 1463 HOT 2
- Geofence does not work with pagination HOT 2
- Support Laravel 6 HOT 4
- geofence with pgsql error HOT 1
- When will you release the new commits? HOT 7
- Laravel 7 support HOT 1
- Method Illuminate\Database\Eloquent\Collection::distance does not exist. HOT 2
- No Postgres support HOT 2
- Geofence returns long numbers
- Geofence Return Null even the lng and lat are the same. HOT 2
- Publish commit with laravel 9 support on composer packages HOT 2
- Publish new release to support Laravel 10 HOT 1
- Laravel 11 HOT 3
- Distance is incorrect? HOT 1
- can't get it working in Laravel 5.6 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-geographical.