For some reason just doing
composer require ryanhs/chess.php
Gets the 2017 version tagged 1.0.3
Then doing
composer require ryanhs/chess.php:dev-master
Gets the 7e57882 commit from 2019.. although you would expect it to get the very latest commit. I don't understand why it doesn't
Finally I was able to get the latest commit which doesn't have the deprecations by specifying the hash of the latest commit like so:
composer require ryanhs/chess.php:dev-master#1a09918bca199fcdb183877e2fff82183b697727
I don't understand whether that's a problem with this repo or a problem with composer. I'm using Composer version 2.1.6 2021-08-19 17:11:08
It works now though. I was needing a way to convert UCI notation to SAN.. and I got it to work thanks to this package
Thank you for your continued work on it @lovephpforever
It says Package ryanhs/chess.php is abandoned but it doesn't seem to be abandoned..
Maybe you could tag a new version in 2021 soon? : )
Thanks!