Generate and read source maps using PHP