porting twitbay to Laravel