A Packaging class for php