Questions tagged as 'laravel'

2
answers

InvalidArgumentException ("Route [{$ name}] not defined."); with laravel 5.7

this is the controller, public function index() { //$files = File::all(); //return view('file/create', compact('')); $paises = DB::table('clientes')->pluck("nombre","id")->all(); return view('file/creat...
asked by 26.10.2018 / 00:12
1
answer

bring file and a user to the database,

This is the view that carries the data, the file and the name but when it reaches the controller it only sends the file <input type="file" name="link" required="required"> <textarea type="text" rows="50" hidden="hidden" id="text...
asked by 30.10.2018 / 23:53
1
answer

Upload laravel project to a VPS, using Nginx, without using Git

I have a question, I searched Google and I can not find a convincing answer, I have a VPS, the Nginx server is already configured, I was able to start a page with Laravel and I could access it from the internet using a domain, the problem is in...
asked by 25.10.2018 / 03:59
0
answers

Export to Excel 3.1, apply style and a report title

Someone knows some more complete documentation of Export Excel 3.1 I want to join cells for the name of my report and give them a style until now I just manage to put the header. public function headings(): array { return [...
asked by 25.10.2018 / 18:19
0
answers

Datatable does the search command but does not show the result

I managed to make him make the command to look up the data of a table, but he does not show them in the datatable, I do not know why. Does the query, but does not show it. I already asked this question 2 times, and nobody even tells you. I do...
asked by 25.10.2018 / 03:56
0
answers

List Roles in Vue with laravel 5.6

please could you guide me how to show the roles of the users. I have in the controller public function index() { $usuarios = User::all(); $listaroles = User::with('roles')->get(); return response()->json(['datausers' => $usuari...
asked by 26.10.2018 / 04:52
0
answers

Make an editable jquery table using laravel

another question with laravel. How could I make the table editable using jquery? I'll do it to dry, but as laravel makes it different, I'd like to know how. This is what I have so far: home.blade (The view) <form method="get" actio...
asked by 22.10.2018 / 23:22
0
answers

Laravel - View Composers - View composer class - Class not found

I'm working on my first Laravel project and wanting to generalize a bit the views I'll get over the next mistake I do not understand. Create my composer class: namespace App\Http\Composers; use Illuminate\Contracts\View\View; class...
asked by 22.10.2018 / 15:50
1
answer

Could not open input file

I'm starting in laravel but I get the error Could not open input file: I'm in windows, I tried it as administrator, in xampp, but the error continues, in both cases within the laravel folder and nothing.     
asked by 22.10.2018 / 16:31
1
answer

Pass query from sql to laravel

I'm a bit new to Laravel, I have this query in sql and I want to move to laravel Select users_groups.Name FROM tm_employee INNER JOIN users ON tm_employee.UserId = users.id INNER JOIN users_groups ON users.groupId = users_groups.id WHERE tm_em...
asked by 24.10.2018 / 23:09