Tidy extension

As the tidy extension for PHP is not active (why?), I need to find some workarounds for that.

I saw the wiki for downloading and compiling, but I don’t think it’s the right solution for the VPS plan I have.

Any ideas?
The best will be to have a class I could include in my application and call it like any normal class which is not an extension.

Thanks!

(probably it’s not exactly what you need, but if you are using Tidy to parse HTML documents, PHP Simple HTML DOM Parser is a great alternative and works by including a class )