Questions tagged as 'laravel'

4
answers

Laravel, Hash :: check (), always returns false

When trying to compare the password in pure text with the password encrypted in the database, the Hash::check() method always returns false , and should return true Authentication code: $email = $request->input('e...
asked by 20.02.2017 / 18:16
1
answer

Laravel 5.2 - 5.6

I am doing a php/laravel course, the teacher uses version 5.2 of laravel and I would like to use version 5.6, in case the directories are different, in 5.2 it has the folder layouts and in version 5.6 does not have , how can I do i...
asked by 26.01.2018 / 20:54
1
answer

How to create a custom Auth controller in Laravel 5.5?

I created a custom Auth controller in Laravel 5.5 with the action "store" inside it, then I authenticated using the auth->attempt() method that returns true . So far so good, the problem starts when I try to use the "auth" middle...
asked by 17.11.2017 / 02:31
1
answer

Problem in updating Composer - Laravel

Good afternoon everyone I'm trying to install a package by composer in laravel, and typing "composer require bert / ldap-authenticator" does the installation but produces the following result: Using version ^0.2.4 for berg/ldap-authenticato...
asked by 19.02.2016 / 16:28
1
answer

Decrease php hours [duplicate]

I'm having trouble handling the time to lower it in php. My idea is to get the time that comes from the database and decrease with the current time and bring the rest, but I'm not getting it. code I am using as an example: $results =DB...
asked by 20.08.2018 / 19:34
1
answer

Trying to get property 'email' of non-object

I'm trying to send an email from a contact form. But it returns the error "Trying to get property 'email' of non-object." Controller: <?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Controllers\Controlle...
asked by 11.10.2018 / 04:47
1
answer

Pass Headers on a route in Laravel

Good Night, I am working with Laravel 5.3 on a solution, as it is an API application, I chose to use Laravel Passport as authentication. I'm having a hard time loading the Token into the page header, I'm able to log in, return the access token,...
asked by 21.12.2016 / 00:48
2
answers

PHP Framework with greater similarity with CodeIgniter? [closed]

Which of these frameworks below have the greatest similarity to CodeIgniter, so that I can have the smallest learning curve? Laravel CakePHP Zend
asked by 27.02.2014 / 16:04
3
answers

Laravel - parse_url () expects parameter 1 to be string, array given

I'm encountering an error when trying to register data in the database. ErrorException (E_WARNING) parse_url() expects parameter 1 to be string, array given ProductController.php public function cadastrar(Request $request) { $dados...
asked by 13.10.2017 / 16:33
1
answer

Route problem Laravel

I'm having a problem with a route from my system. Route::get('/atualizacoes/list', 'AtualizacoesController@listarIndex')->name('atualizacoes.listar'); By what I understand it is interpreting the "list" in "/ updates / list" as if it were...
asked by 22.10.2018 / 15:51