PHP Framework in PHP extension