Am I the only one who thinks the initial PHP example is just fine?
Seriously, you're claiming to "solve" one "problem" by building an entire new system which is inevitably massively more complex and difficult to manage than the "problem" you're trying to solve.
Then again, I don't work in enterprise-level environments but to be honest if this is what it's like, I'm glad I don't.