Laravel implemenation