some fixes

fixed #6 and added a “via” alternative #7
tried to fix date
some php doc