Update README.md

-Fixed the wrong hashing procedure (Sha1 instead of Sha256)
-Added some php snippets
-Added some cleanest explanations for the callback part