Update php-hooks.php

fixed misining  $this-> #1
Update README.md

removed duplicate
Create composer.json

Make the package usable in other projects. Suggest also getting it registered on Packagist.org.
Merge pull request #4 from GaryJones/patch-1

Create composer.json
Fixed php formating

Fixed php formating
Merge remote-tracking branch 'upstream/master'

Conflicts:
	php-hooks.php