To destroy the earth (overcome its gravitational binding energy) with a space laser, you’d need around 375 trillion petawatts over 10 minutes.
That’s about 1,000x the total output of the sun over the same timeframe. If you could focus 100% of the sun’s output energy on earth, it’d take about 7 days to destroy the planet.
Just so you know.