Born in Lingdale, North Yorkshire, Boyes played for his local team Lingdale before being spotted by a York City scout. He went on trial with York and subsequently joined the club's Centre of Excellence in 2005. He signed a two-year scholarship with York in June 2007 and was part of the team that progressed to the third round of the 2007–08 FA Youth Cup. While still a first-year scholar, he made his first-team debut as an 84th minute substitute in a 1–0 defeat to Torquay United in the semi-final second leg of the FA Trophy on 16 March 2008. After scoring a hat-trick for the reserve team against Barnsley, he made his league debut as a substitute during York's 4–0 Conference Premier victory at Stafford Rangers on 8 April 2008. Following this appearance, manager Colin Walker said "I thought he looked the part and that can only be good for York City football club". He went on to make two further appearances during the 2007–08 season, which he finished with four appearances. He was handed a one-week trial with Premier League champions Manchester United in May 2008 and after this was extended for a second week he played in a youth tournament that included Hibernian, Middlesbrough, Tottenham Hotspur and a Russian team. During the tournament, he scored for United after intercepting the ball from an attempted header back to goal from an opposition player against Premier Soccer League team Supersport United in a 1–1 draw. Following this, he had "etched out a reputation as one of the game's brightest potential stars".