Thoughts and musings.
phpv8 and php-v8 are different. If you want to run Javascript code in PHP this post outlines what you need, and how you install it.