-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laravel 9.x Compatibility #184
base: master
Are you sure you want to change the base?
Conversation
|
⚗️ Using this package? If you would like to help test these changes or believe them to be compatible, you may update your project to reference this branch. To do so, temporarily add Shift's fork to the {
"repositories": [
{
"type": "vcs",
"url": "https://github.com/laravel-shift/laravel-mysql-spatial.git"
}
]
} Then update your dependency constraint to reference this branch: {
"require": {
"grimzy/laravel-mysql-spatial": "dev-l9-compatibility",
}
} Finally, run: |
Also can confirm this is working as intended, would be nice to merge this ASAP. |
@grimzy any chance of getting this in? Thanks! 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Does anyone have a maintained fork of this that I could switch to? Looks like this is is dead. |
Is this going to get merged in anytime soon? @grimzy |
Have a few projects I would love to update to Laravel 9. Is there something I/we can do to help git this committed @grimzy? Also, for those needing to upgrade sooner than later, migrating to https://github.com/MatanYadaev/laravel-eloquent-spatial/ is relatively straight forward. |
@grimzy any chance of getting an ETA for this? I would prefer to stay with this but it looks like we need to migrate to another project |
Bump for getting this merged |
Is there an ETA on merging this, or is it best to migrate to an alternate project / fork? |
@olipayne @SpiritSaint FYI We are facing this issue too, please provide an ETA. |
Looks like this could be an alternative: https://github.com/MatanYadaev/laravel-eloquent-spatial The API seems to cover most of it but I havent had a chance yet to implement: https://github.com/MatanYadaev/laravel-eloquent-spatial/blob/master/API.md If anyone gets a chance to switch please report back as this is dead EDIT: just noticed @citricguy had already discovered it! |
I wasn't doing anything too complex to begin with, however the switch to https://github.com/MatanYadaev/laravel-eloquent-spatial was very straight forward. No issues upgrading to Laravel 9x after moving over. |
I also ended up switching to https://github.com/MatanYadaev/laravel-eloquent-spatial and it wasn't too hard |
@matthewheck17 @citricguy @mattvb91 I am trying it with a fresh new project with Laravel 9.x. I will report here if that works fine. |
The l9-compatibility was made to work with what MySql version? MySql 8? |
After updating to this version, I get |
I faced the same issue. After long research, it looked like a MySQL 8 bug. I ended up using a plain distance calculation |
For people trying to get this working with Laravel 10, I've created a fork with the dependencies bumped.
Then update your dependency constraint to reference this branch:
Finally, run: |
@grimzy would it be possible to get this in? |
@aconital I highly recommend switching to https://github.com/MatanYadaev/laravel-eloquent-spatial The switch was simple. In my case it involved:
It took 20 minutes. |
Same here, transition was quick and hasn't given me any issues at all. |
Thank you I'll give it a try |
@citricguy thanks for the initial recommendation! |
This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 9.x.
Before merging, you need to:
l9-compatibility
branchIf you do find an issue, please report it by commenting on this PR to help improve future automation.