Added castTotYpe method
Added gitignore
Added composer and license
Small change to readme
added doc
removed abstract of toString method
Added php doc and finished implementation
Small fix
Finished basic implementation, added phpdoc