Laravel, or any Symphony based framework is a great choice.
PHP is a very modern and mature language at this point. If the first thing you think of is Wordpress, then you’re behind.
And how relevant do you think highlight_file is for symphony or laravel?
Probably none.
I agree with these points although going back to the grandparent comment, the value of being able to show the source code of a controller with these frameworks by appending a query string is close to zero.