Added extraction function, removed php from Brewfile