The founder of addiction Web site The Fix is suing because he says its board let him go when he had to go to rehab himself.

Maer Roshan — a former deputy editor at New York magazine and founder of Radar — created The Fix in 2009 after his own experiences with alcohol and drugs, and rehab. But he alleges in a new suit that when he relapsed in 2012, he was given a lowball severance package despite the site’s success and was threatened by a colleague that his relapse would be leaked to the media if he didn’t accept the terms.

According to the suit, Roshan worked to grow The Fix — which had angel investors including Lorraine Kirke — into a “Zagat’s-like guide to the nation’s approximately 60,000” sober living facilities. The Fix also features its own “rehab help line” and posts that include “10 TV Characters Who Relapsed” and “Addiction on ‘The X Factor.’ ”

But, The Post’s Julia Marsh reports, in March 2012 Roshan went through a relapse himself and was terminated by the Web site’s board shortly after, court documents reveal.

“I was under the impression that Recovery supported me,” Roshan said, referring to the name of the site’s corporate parent company, Recovery Media. Roshan’s suit continues that CEO Paul McCulley “threatened that if I did not cooperate, he would tell the media about my recent relapse, besmirching my reputation and my future career prospects.”

McCulley’s exit package offer was a mere $30,000, according to court documents. “I declined his offer,” Roshan sniffs in the suit.

Roshan further claims the board is pushing him to sell a 30 percent stake, and that he believes the company’s worth $10 million. He wants the court to allow him to access business records to determine its true value.

McCulley and an attorney for The Fix’s parent company did not return requests for comment.

The Post reported Roshan was out at The Fix last June. Sources say he’s been sober for more than a year and is working on a book in Los Angeles.