laravel-scout-mysql-driver
Laravel Scout MySQL Driver (by yabhq)
laravel-mysql-spatial
MySQL Spatial Data Extension integration with Laravel. (by grimzy)
laravel-scout-mysql-driver | laravel-mysql-spatial | |
---|---|---|
- | 4 | |
522 | 802 | |
- | 0.6% | |
0.0 | 0.0 | |
about 3 years ago | 10 months ago | |
PHP | PHP | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
laravel-scout-mysql-driver
Posts with mentions or reviews of laravel-scout-mysql-driver.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning laravel-scout-mysql-driver yet.
Tracking mentions began in Dec 2020.
laravel-mysql-spatial
Posts with mentions or reviews of laravel-mysql-spatial.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Efficient Distance Querying in MySQL
I think laravel-mysql-spatial is worth mentioning in this context.
-
Laravel ready for Point() and geospatial data? (I think it isn't)
just go to the issues in the repository, and actually look at them https://github.com/grimzy/laravel-mysql-spatial/issues .
-
How to set model attribute values with bindings?
You should definitely check out https://github.com/grimzy/laravel-mysql-spatial.
-
How to paginate when I apply the "where" after getting the data?
Like /u/octarino said, do the distance filtering in the database. If you're using MySQL, give this package a try: https://github.com/grimzy/laravel-mysql-spatial. Just add a trait to the model, and you get some really useful query scopes. Or you could use the ST_DISTANCE_SPHERE() function manually in a raw where clause. The only requirement is that the location is stored i a column of type POINT (the package also makes it easy to create these in migrations).
What are some alternatives?
When comparing laravel-scout-mysql-driver and laravel-mysql-spatial you can also consider the following projects:
laravel-scout-elasticsearch - Search among multiple models with ElasticSearch and Laravel Scout
bouncer - Laravel Eloquent roles and abilities.
laravel-scout-tntsearch-driver - Driver for Laravel Scout search package based on https://github.com/teamtnt/tntsearch
telegram - ✈️ Telegram Notifications Channel for Laravel
Laravel-Excel - 🚀 Supercharged Excel exports and imports in Laravel