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:
https://bit.ly/m/laratips
====================== 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
Wise Link: https://bit.ly/3dnBRmX
Wise email: [email protected]
===
Social Media Links:
Let's be friends
/ aashish_dhamala
Follow On Facebook
/ laratipsofficial
Follow On Twitter
/ laratips1
Project link:
https://github.com/Laratipsofficial/t...
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)
• 10 Laravel Blade Tips That You Might ...
Tech stack:
Laravel
PHP
Vuejs
Tailwindcss
Axios
MySQL
#laravel #php #laraveltip #laratips #vuejs #axios
Image source:
Tamas Tuzes-Katai
https://unsplash.com/@tamas_tuzeskata...
https://unsplash.com/s/photos/locatio...