PHP file test for laravel framework