BUTx architecture implementation in PHP