Modified in the way the Laravel one works