The NSW opposition is calling for a statewide audit of traffic safety near schools following the deaths of two boys when a car crashed into their western Sydney classroom.

The two eight-year-olds were killed on Tuesday when a parent drove into the staff car park of the Banksia Road Public School and crashed into a classroom just metres away.

Opposition education spokesman Jihad Dib says there is an urgent need to audit the more than 2000 public schools in NSW.

Play Video Today the young victims' grieving classmates returned to the school. The West Australian Video Today the young victims' grieving classmates returned to the school.

“We need to take a snapshot and look at any possible scenarios we can to improve conditions in and around schools,” he said.

Mr Dib said the audit should extend to inside school grounds including car parks.

“In some cases it’s not just about putting up gates or bollards, it may be that in some cases you could have a built-up garden bed, or some trees,” he said.

Play Video A Toyota came crashing through the wall of the school, killing two children. The West Australian Video A Toyota came crashing through the wall of the school, killing two children.

Figures from Revenue NSW show that last year over 143,000 fines were issued for dangerous driving in school zones across the state.

Most of the fines were issued for speeding, but included running red lights, using a mobile phone while driving, doing illegal U-turns and parking offences.