Check https://github.com/phpvirtualbox/phpvirtualbox/releases for releases supporting VirtualBox 5.2.