I've made a phpass package for all to use.
It is a port of phpass.
Usage
Download and put the package in your package directory.
The source is available on github.
For hashing:
$hashed = PHPassword::hash($password)
For checking:
if(PHPassword::check($password,$stored_hash) === true){
// succes
}else
{
// error
}
I've added a config file (/phpassword/config/phpassword.php) to change some basic settings.
For more info on the library itself, please vitis: http://www.openwall.com/phpass/
So for anyone finding this usefull, have fun.