"We've made no secret of the fact we have been interested in John for some time, so to finally land him is very satisfying.
"I know all about John having worked with him at Burton Albion and I have no doubt he will be able to make the step up to the Championship.
"James is a determined midfielder who has been impressive every time we have watched him and we're delighted he has also joined us."
Brayford's former club Burton will also benefit from the defender's move as they are entitled to 20% of any transfer fee thanks to a sell-on clause in the deal that took him to Crewe for £80,000 two years ago.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.