Questions tagged as 'laravel'

2
answers

Laravel Make: Auth with SQL SERVER

Hi, I'm using Laravel 5.2. * with PHP 5.6+, everything is working as it should be when it comes to connections, use the Make:auth to create the login with Laravel, but at the time of registration (or ok using the register by default) give...
asked by 23.02.2017 / 15:43
1
answer

Pass two variables to a method in laravel

Help I'm stuck in a part of my project, I'm doing an intranet for a Lyceum. The subject is that I want to place an "Observation" to a Student, for this I need the "id" of the Student, the "id" of the Subject, and the "id" of the Teacher that is...
asked by 08.03.2017 / 01:09
2
answers

Nginx + php7.1 + Vagrant

Good I installed homestead the last version that runs with php 7.1, but I really have project created in laravel 4.2 and using php 5.6, the problem is that every time I run my environment in vagrant I reconfigure the nginx with php 7.1 and I wan...
asked by 28.12.2016 / 18:22
1
answer

configure mail laravel 5.3

Currently I want to configure my application in Laravel with dynamic database data for mail delivery. That is, host, port, driver, user, password I want to take them from database. How can I make the settings? In the config/mail.p...
asked by 03.01.2017 / 19:04
2
answers

Vue 2 + Laravel 5.3

I have a form with a name field and a select for provinces . The point is that I enter a name, and when I select a province, I delete what I wrote in the name. And searching and testing I get to give that if I delete the v-model...
asked by 10.01.2017 / 23:00
3
answers

Apply style to Active or Inactive state with php in Laravel

I happen to have my template index.blade.php in which I post the list of articles, I would like the status Inactive to appear red, I do not have any idea of how to do it I am a newbie in laravel and php, in fact I was inclined by this framew...
asked by 26.10.2016 / 23:59
2
answers

Autocomplete [jquery] does not show data

I have the following problem, I have two fields to autocomplete (group name and number of the same) and the logical part works correctly but it does not show me the coincidences, as you can see the values appear in the console, but not in the pa...
asked by 15.11.2016 / 20:52
1
answer

Laravel 5.3 Eloquent Union Error

I have the following function: public function searchJoin(){ $first = $this->getModel() ->join('tarea_x_usuario', 'tarea_x_usuario.idTarea', '=', 'tarea.id') ->rightJoin('usuario', 'usuario.id'...
asked by 09.11.2016 / 16:52
1
answer

Do I need to create the models for the tables in the database? Laravel 5.1

I came up with the following doubt, in a project that I am doing I have about 25 tables for my database. My .sql file is already ready with the tables and I want to know if I have to create a model in Laravel for each table, I want to know becau...
asked by 08.10.2016 / 05:17
3
answers

How to validate unique fields with custom Request when an update is made

The small problem is testing a user's editing form, when I validate the data with a custom request, it generates problems when I have unique fields. In my case, I have the email as a single field, when I edit and I do not want to modify the e...
asked by 20.10.2016 / 15:25