What's the link to the GitHub library?
The suggested forum search would have come up with this thread
Core LCD library not working with Photon (Adaffruit_HX8357)
and in there you'd have a link to a working GitHub library
GitHub - masha256/Adafruit_HX8357_Library: ahx library