Trying to use out of the box laravel pagination in blade template: {{ $pages->links() }} In cont...
$image = $input['image']; $filename = $image->getClientOriginalName(); $destination = 'upload...
I have following code: public function delImage($path, $id) { $page = Page::find($id); \File::d...
My form: {{ Form::checkbox('portfolio', 0, false) }} By default checkbox is unchecked. In controlle...
In controller: public function deletePage() { $pageClass = $this->page->find(Input...
Thanks, it's indeed for raw assets. Public folder is for css/js/images.
eriktisme said: If you want to use a repository pattern, then it's bad practice. But on topic, if y...
I know that i can save images that way, but the question was about integrating image upload from sum...
Thanks, so in my Category model i should write something like this: public function subcats()...
Thanks, but this additional layer of abstraction consumes additional time when u're doing simple pro...
The Laravel portal for problem solving, knowledge sharing and community building.