Questions tagged as 'laravel-5'

1
answer

Search form in Laravel

I'm doing a news section, which to find a news I have the following form: The question I have is, how can I do a search engine, depending on the number of fields that are completed. For example, someone can search for news only by keywo...
asked by 16.04.2018 / 14:06
1
answer

Send an email attaching multiple files

You see, I have an exercise in which, I have to select the users of a table, create for each one a PDF with its curriculum and to end up sending someone an email in which I attach all the created PDFs. First, the form: @extends('layouts.app...
asked by 19.05.2018 / 15:52
2
answers

Mismatch with virtual hosts

They will see, create a virtual host to have more facilities to handle a project called "bolsa". I have this code in C: \ WINDOWS \ system32 \ drivers \ etc \ hosts: # Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file...
asked by 20.05.2018 / 17:45
1
answer

Is not the attribute assigned to me in laravel lumen?

I am trying to call the attribute but it gives me as null if I call it from another function, does anyone know that it may be happening? class ArchivoController extends Controller { public $usuario; function pasar(Request $request) {...
asked by 16.03.2018 / 15:35
1
answer

Error in homestead with SQL Server driver when saving laravel session (DB-Library (as ISQL) or ODBC version 3.7)

I am saving my Session in the database using laravel with SQL Server in homestead (Ubuntu) and at the moment of entering the system it shows me this error:    SQLSTATE [HY000]: General error: 4004 Unicode data in a Unicode-only   collation or...
asked by 20.03.2018 / 17:37
1
answer

Error creating foreign key of a table

You see, I have a Targeta table in my project with the following code: <?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTargetasTable extends...
asked by 14.03.2018 / 18:11
1
answer

Testing with Laravel 5.5

I want to test the user login only with PHPUnit for several recommendations as Laravel Dusk becomes slow. My problem is that I want to test the part of when the user enters data in the form and I do not know if that can be done $this->...
asked by 05.03.2018 / 15:27
2
answers

Error the Mysql when uploading to the hosting with Laravel

I have changed the data in .env with the new data that the database hosting gives me and when I go to enter it gives me an error: I'm using webhostapp.com as hosting And I have changed in options the php version to 5.5 ErrorException in MyS...
asked by 05.03.2018 / 14:14
1
answer

Consume WSDL services with laravel 5.6

Good day I have been using Laravel 5.6, and my project should consume a web service based on SOAP (WSDL). My specific question is: is it possible to do it with Laravel and if they had a tutorial or documentation to review it?     
asked by 01.06.2018 / 14:14
1
answer

How to select only the last array of an array object that happened to laravel lumen?

because that I put the image of postman arrives me the object of array from angular and I want to select only the last one This is my lumen code I've tried with this but I get an error it may be from the library but I do not know use Illum...
asked by 03.03.2018 / 23:00