Changed some code to Laravel syntax
Merge pull request #128 from Useful-Innovation/changes

Changed some code to Laravel syntax