A primary school has received a funding boost from housing development company Miller Homes to help support its pupils.