Questions tagged as 'laravel-5'

1
answer

Best practice for Mass Assignment

In order to obtain the facilities that the framework proposes, in the specific case of writing data to a table in a database, we can use the 'mass assignment' feature, which means, in free translation, 'mass insertion ( of data) '. I followed...
asked by 22.05.2016 / 14:21
1
answer

I need to return this JSON with Laravel eloquent

My Json: { "data":[ { "data":{ "name":"Documents", "size":"75kb", "type":"Folder" }, "children":[ { "data":{ "name":"Work",...
asked by 23.03.2018 / 14:11
1
answer

Composer / Laravel ... [ERRORS]

Hello, I have a system in php to give maintenance ... only that I wanted to upload the application to do the tests and I'm not getting it, I searched the net and did some things, and even then I run into this error in my cmd ... in the folder whe...
asked by 21.10.2017 / 23:07
1
answer

Error generating PDF, Undefined variable: o (View:

metodo gera pdf: ordemController $ordens = Ordem::all(); return \PDF::loadView('ordem.detalhes', compact('ordens')) ->setPaper('a4', 'landscape') ->stream('export.pdf'); view <h1 class="text-warning">Ordem numero: {{$o-...
asked by 06.12.2018 / 03:14