John Travolta and Salma Hayek are to star in “A Three Dog Life,” a drama based on the memoirs of Abigail Thomas.

Thomas reinvented her life to live near her husband, who suffered major hallucinations after a near-fatal car accident.

The film is written, produced and directed by Nick Guthe. J. Todd Harris (“The Kids Are All Right”) and Clark Peterson (“Monster”) also produce.

Sales outside the U.S. are by the Solution Group, while CAA and WME co-represent the film in the U.S.

“Nick has adapted Thomas’ heart-wrenching memoir flawlessly, capturing the intimate details of how her marriage is put to the test following a life-changing accident,” said the Solution’s co-founders and partners, Lisa Wilson and Myles Nestel. “John and Salma are the perfect pair to portray this couple’s journey over the course of several years.”