remove dependance on Laravel