Presumably you have reasons for wanting to use PHP in the browser.
Are any of them specific to PHP, or do they boil down to “We use PHP in our backend, so we want to use PHP in our front end as well”? The latter would apply to any other language people use on the backend.
“want”, not “need”. What can you do with front end PHP that you can’t do with Javascript? If you wanted to write client-side PHP you are going to compile it to Javascript or WebAssembly anyway.
Are any of them specific to PHP, or do they boil down to “We use PHP in our backend, so we want to use PHP in our front end as well”? The latter would apply to any other language people use on the backend.