Mayor Bill de Blasio is ordering a “30-day review” of the city’s mental health intervention programs and Kendra’s Law — which gives judges the power to force mentally ill people to undergo psych treatment — after yet another deeply disturbing attack by a homeless person.

“The Health Department and Thrive, for example, will review their cases to see whether more people should be dealt with under Kendra’s Law,” he said in a press release Friday.

“When people with mental illness need help, we as a city should be doing everything we can to make sure they get it,” de Blasio said.

On Thursday a homeless man randomly attacked a 6-year-old boy who was sitting on the steps of his grandparents’ home in Kew Gardens, Queens, around 5:30 p.m., police said. The child was in critical but stable condition with bleeding on his brain and a collapsed lung, his family said.

That attack comes less than a week after police say another vagrant randomly murdered four other street people in Chinatown.

The city health commissioner, Oxiris Barbot, and NYPD Chief of Department Terence Monahan will lead the mayoral review. Notably, the head of the mayor’s embattled mental health program, ThriveNYC, which his wife created, is not playing a leading role in the process.

City Councilman Joe Borelli (R-Staten Island) was pleased with that decision.

“There clearly needed to be a change of strategy that involves NYPD, and I am glad the mayor has finally come around to a more active approach and one that leaves ThriveNYC on the back burner,” Borelli said.

“Once again, our part-time mayor is showing that he is reactive, not proactive,” said Queens city Councilman Robert Holden. “It shouldn’t have to take a brutal killing and a vicious attack of a young child in the span of a week for him to realize that the city’s use of Kendra’s Law should be reviewed.

“Many more incidents could have been prevented over the past several years if the city made better use of this law, which has been proven to reduce the rates of homelessness and incarceration among those with severe mental illness. Now this ‘review’ is nothing more than public relations damage control for the Mayor’s continued failures on mental health in New York.”