Door sensor (30) for installation on the door leaf (21) of a swing or revolving door (20), having a 3D image sensor for monitoring a monitoring field (30) in front of the door leaf, having a rotation angle encoder for detecting the rotation angle of the door leaf, wherein the door sensor has a common support that connects the 3D image sensor to the rotation angle encoder.