Door Sensor Alarm

Just look up how shops do this.
Two key techniques, one is based on RFID, the other on special (de)magnetisable tags. Both based passing between two antennas which then can detect the presence of the tag. In case of the magnetic tags it's just recording presence of a tag, in case of RFID they can even tell which individual tag is passing through.