Does the Gift membership extension work with 4.7?
There is an issue in git here asking this very question but without any answers since Nov 2016 and last commit is nearly 2 years ago. Worth raising the question here since it has a broader audience

UPDATE

changes have been pushed to the main extension repository - https://github.com/relldoesphp/com.aghstrategies.giftmemberships/pull/11.

This will enable users to use the extension on 5.x versions