public_path()
returns an absolute local path to the public directory. If you want a http response, use the url
helper function.
return url('img/image.png'); // http://domain.com/img/image.png
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community