chris48s / cakephp-geodistance

:cake: A CakePHP 3 geodistance model behavior :earth_africa:
https://packagist.org/packages/chris48s/cakephp-geodistance
MIT License
5 stars 1 forks source link

Can't install in cakephp 4 #6

Open Matteo7S opened 4 years ago

Matteo7S commented 4 years ago

HI, great job!

I use this behavior on cakephp 3 but now tring to use composer for install on cakephp 4 i get this error: Your requirements could not be resolved to an installable set of packages.

chris48s commented 4 years ago

Hello. I had a quick look at what is needed to upgrade this for CakePHP 4 compatibility in case it is a trivial upgrade but there are definitely some deprecations and incompatibilities I will need to deal with to upgrade it.

Unfortunately this is not really high priority for me to work on at the moment as it is now several years since I did anything with CakePHP and I'm not actively using this library myself any more. I'll have a think what do do about it. I might noodle on it at some point. I might just end up marking the repo as unmaintained. I'd certainly be happy to review a PR if someone else wants to work on the upgrade.

If this plugin is blocking your upgrade to v4, one option would be to switch your application to use https://github.com/dereuromark/cakephp-geo which also has this feature (and does a bunch of other stuff) and does have a CakePHP4-compatible release.