Convert to Laravel