I strongly endorse this idea. The faster and more completely the development community moves away from using PHP in production, the better. I've started telling people not that PHP is bad, but that PHP is the avatar of technical debt. No matter what you personally do with PHP, the creators of the language and the other participants in the PHP ecosystem make it impossible to create a significant project in PHP without taking on ruinous amounts of technical debt - some of which takes the form of critical security problems! Python and Ruby, despite their faults, are more secure by default and have better security teams.
So in summary, I bet that purging PHP was tough, and I think you made the right choice.