Questions tagged as 'laravel-5'

2
answers

Create user in Laravel 5.3 passing data with select

I am creating a registration form in Laravel 5.3, where one of the fields is a "group" that searches in a database. The groups are available and displayed by a select . The problem is that I could not save, because I think I'm not receivin...
asked by 31.10.2016 / 15:34
1
answer

Problem with pivot table in laravel 5.7

I am doing a project for the university and I have a problem working with a pivot table, it is the relationship between Vaccines (Vaccine) and Pets (Pet), it is a relationship of many to much, believe the migrations of both Vaccine and of Pet, a...
asked by 31.12.2018 / 20:43
2
answers

Consult multiple tables in Laravel 5.1

I have this query in which you are looking for products and the category to which they belong: $products = Product::product($product) ->category($category) ->with('category')...
asked by 04.01.2016 / 16:16
1
answer

Differences between Seed, migrations and factories?

I am learning Laravel, but it causes me conflict to understand some things about the subject. As I understood the migrations are a kind of control of versions of the database with OOP Seeds are used to create test data. And the factorie...
asked by 23.05.2018 / 00:54
1
answer

Update user profile Vue-Laravel

I have to do the view to update user profile in Vuejs, the view is currently done in blade and it works fine, but I have to pass everything to Vuejs. From the sidebar.blade.php I pass the user to the Vue component named Profile.vue <pro...
asked by 12.04.2018 / 21:17
3
answers

integration Laravel 5.4 File Manager

I've been integrating as it says on this page link . What I do not understand is that I get an error: (1/1) InvalidArgumentException View [auth.login] not found. I am integrating it with TinyMCE that this configuration comes out: <te...
asked by 20.11.2017 / 23:52
1
answer

error PHP-LARAVEL Undefined variable:

I'm doing a project in laravel. But he throws me the next mistake. In my controller I have this: public function edit($id) { $lanifComercial = new PlanifComercial(); $lanifComercial->LABORATORIO = 'LABORATORIO'; return view('P...
asked by 31.07.2017 / 22:48
2
answers

Laravel Blade Templating + Vue2 HTML Render

I have an application that uses Laravel 5.4 and in order to search for reactive records with AJAX I decided to use Vue 2. The issue is that when rendering the information of Vue.js I get the classic and logical err...
asked by 28.07.2017 / 23:42
3
answers

Why does not my app made in laravel 5.4 generate the pdf with barryvdh / laravel-dompdf 8.0?

I just have this problem. I install the package correctly and all right up there, but I try to generate the pdf with barryvdh / laravel-dompdf , but all my attempts have been unsuccessful. My ajax: $.ajax({ type: 'post',...
asked by 22.06.2017 / 17:41
1
answer

Why do not relations work for me in Laravel 5.4.2?

Hello friends, my problem is the following, for some days now I have been planning the relations of the game that I am doing with PHP using Laravel 5.4 and the following problem arises when creating users: I have two Tables: users and charact...
asked by 14.08.2017 / 17:23