A one-grating common-path phase-shifting interferometer for quantitative phase imaging is proposed as an improvement over the original interferometer design. In the original version, the setup is long, involving a grating pair, and requires precise mechanical translation of the grating, which poses difficulties for practical applications. The proposed interferometer utilizes grating multiplexing to reduce the length of the optical setup and uses a phase-only spatial light modulator to implement pinhole filtering and phase shifting simultaneously without any moving parts, making it more conducive for the realization of a practical version.