Create packet.php

'packet.php' base written.