Adding global function in Laravel using Composer