Mining planets also usually produces a suprised look on a human opponent, the first time
After that they get smart but that means the minesweepers must enter combat and you have a chance to take them out.
The best thing about using mines as a planet defense is every planet can produce them. They don't take up much space so you can keep them in storage until the enemy appears and then launch them. They are really good when used in conjunction with fighters.