Bittytorrent is all written in PHP, uses the popular MySQL database and use hooks system