I have an electronic pet door made my Solo. It's built like a tank and is activated by a magnet installed on the pet's collar.
I installed a large one big enough for a Husky. I also had a cat with the magnet and both used the door. It works great and have never had a problem with strays...