Laravel 5 ovewrite helper function __() because used in wordpress

admin

Administrator
Staff member
I have read several post on stackoverflow but didn't help, so i hope somebody can give the good answer.

I am using Laravel with wordpress. Now there is an error. Is it possible to rename or other method to change this?

Error:

Code:
Fatal error: Cannot redeclare __() (previously declared in C:app\laravel\vendor\laravel\framework\src\Illuminate\Foundation\helpers.php:821)