Laravel - Show The Nearest Shop To The User Based On Current Location

preview_player
Показать описание
In this video, we will look at how to show the nearest location to the user by calculating the distance between the user's current location and the shop's location in Laravel. We will use MySQL inbuilt function to do this and it is only supported on MySQL 5.7 and above.

=== Important Links ===

Fonts, extensions I use, and Support Laratips links:

====================== Support ======================

If you want me to continue making this kind of video for free on YouTube, then you can support the channel

eSewa ID: 9843632084

===

Social Media Links:

Let's be friends

Follow On Facebook

Follow On Twitter

Project link:
This project is on the tip/distance-between-two-coordinates. So make sure you are in that branch. The link above takes you to that specific branch page.

10 Laravel Blade Tips That You Might Not Know About (This includes the @stack('script') explanation)

Tech stack:
Laravel
PHP
Vuejs
Tailwindcss
Axios
MySQL

#laravel #php #laraveltip #laratips #vuejs #axios

Image source:
Tamas Tuzes-Katai
Рекомендации по теме
Комментарии
Автор

great upload such interested tutorials

Ehsankhan
Автор

Thanks a lot 🌹,
Can I asked you what the datatype of lat and long columns in database specifically in mysql ?

ayhammazari
Автор

This is great. Thanks. Could you make a video on how to refactor this using Livewire instead of Vue?

leonvanrijswijk
Автор

T_Distance_Sphere() method calculates the straight distance from one point to another point?

mahenderprasad
Автор

You're nepalese right? accent sunda testai lagyo malai

kieranable
Автор

How to implement this to eCommerce website

davidmarketsuccess