They may not make it to the World Cup final, but the schoolboy team rescued from a flooded cave in Thailand have been hailed as “heroes” by top footballers and clubs after their dramatic ordeal.

Paul Pogba, Manchester United and Barcelona were among the masses around the world to breathe a sigh of relief as the Wild Boars team finally emerged after more than two weeks trapped underground.

In a sign of how their plight had gripped players at the ongoing World Cup in Russia, Paul Pogba dedicated France’s semi-final win against Belgium to the youngsters.

“This victory goes to the heroes of the day, well done boys, you are so strong,” the Manchester United midfielder tweeted after Tuesday’s 1-0 win.

England defender Kyle Walker, ahead of Wednesday’s semi-final against Croatia, also welcomed the news and offered to send them football shirts.

The 12 boys, aged 11-16, and their 25-year-old coach became trapped by rising floodwaters after setting off to explore a cave complex in northern Thailand after football training on June 23.

The last of the group was finally extracted on Tuesday, 18 days later, after a painstaking and dangerous international rescue mission led by Thai Navy SEALs.

However, football’s world governing body Fifa said the Wild Boars, who are recovering in hospital, remained too weak to take up an earlier invitation to Sunday’s World Cup final in Moscow.

Fifa said it had been informed “that due to medical reasons, the boys will not be in a position to travel to Moscow”.

“Fifa’s priority remains the health of everyone involved in the operation and we will look into finding a new opportunity to invite the boys to a FIFA event to share with them a moment of communion and celebration,” a spokesman said.

‘Hooyah’

But both the team and their rescuers could be in line for a trip to Old Trafford after Manchester United invited them to their home ground this season.

United extended a similar invitation to the 33 Chilean miners who were trapped underground for 69 days in 2010, giving each of them a shirt with his name on the back and a number reflecting the order they were rescued in.

The boys will also head to Barcelona’s Camp Nou stadium after the Spanish giants invited them to next year’s Barca Academy International Tournament and a home game.

Rescuers had weighed up several options to save the boys, including keeping them in the cave through the months-long monsoon season.

But they were prodded into the dangerous task of “diving out” the team through submerged chambers and claustrophobic passages as oxygen levels in the cave plummeted and rains menaced.

The group were led out in three batches by a team of 13 international divers flanked by the Thai Navy SEALs, who greeted each successful rescue with a “Hooyah” on their Facebook page.

Earlier, Japan’s World Cup squad, Liverpool manager Jurgen Klopp and Croatia’s football federation were among those to send messages of support during the boys’ ordeal.

“On behalf of the whole LFC family we wish you from the bottom of our hearts all the best,” Klopp told CNN Sport.

“When the time is right, and everyone involved is ready I’d personally like to invite the children and the coach to attend a La Liga match” in Spain, the league’s president Javier Tebas said in a statement Wednesday.

“We’d like to host them and share with them the joy football can give, and I hope this gesture can help after the events of the last few weeks.”

La Liga said it wanted the 12 boys and their football coach, who form the Wild Boars soccer squad, to “watch many of their football heroes in action in person.”

The boys were trapped for more than two weeks after setting off to explore a cave complex in northern Thailand and getting caught by rising floodwaters.

One of the boys was wearing a Real Madrid t-shirt.

La Liga said it had messaged all its clubs to invite them to participate.

Two of them are being treated for symptoms of pneumonia.

With AFP inputs