Using PHP to control Asterisk

Referring to this post http://forums.digium.com/viewtopic.php?t=9008

Does anyone has an example code on how can this be done? I read the docs on Manager and there are syntax and examples but the examples does not show beginners like me how to use it on some popular programming language. Can anyone give me a sample for me to start work from there?

Thanks

A wealth of info here:

forums.digium.com/viewtopic.php?t=3148

Including a link to a PHP class library complete with examples.