bootstrap for a lib in PHP