I’m a firm advocate of blender composting . Throw your kitchen scraps into your blender (don’t add in items that your blender can’t handle, but throw them in after its blended) with a lot of water and drizzle it around your plants. If its chunky, kick some dirt over it. This feeds your microbes very quickly because the organic matter is bite-sized, and thus feeds your plants. No chemicals necessary.
After making pickled jalapenos, salsa, or other spicy foods I thought that the resulting compost smoothie would be very powerful. Indeed it is. So I pour it down gopher holes that are in my garden areas. No one wants jalapeno/onion/garlic water in their livingroom. I’m fertilizing the garden at the same time as discouraging the gophers.
I’ve gone a step farther and made a merry mixup of foods past their prime along with vegetable scraps. Old juice, stinky rice milk, moldy leftovers, the juice from a bottle of pickles, the last of the salsa… whatever you need to throw out, add to your blender liquid and pour it down the holes. It won’t stop the gopher from tunneling in another direction, but it will wreck existing tunnels for them, and feed your worms and microbes. And after watching plants disappear into the ground, pouring evil brews down the hole is very, very satisfying.