Questions tagged as 'laravel-5'

2
answers

Laravel - FPDF error: Undefined font

What I'm doing I'm rewriting a small bar code generation system using Laravel. What went wrong I'm instantiating classes normally, but when I use the $pdf->SetFont('Arial','B',$fontSize); method I get the message FPDF error:...
asked by 18.03.2015 / 18:23
1
answer

Laravel 5.2 Include Field for Authentication

Good afternoon, I would like a light to change the way that Laravel authenticates, I added a column ( login ) in the users table I would like to know how I can do to rather than authenticate with the columns email and password I use the login...
asked by 02.02.2016 / 20:48
1
answer

Laravel 5 - Auth :: attempt: Error when using another table

Good afternoon guys, I've been searching the Internet and unfortunately I could not solve my problem. I need to authenticate users using the Laravel 5.2 framework however my method needs to be different, ie instead of using php artisan make:...
asked by 24.07.2016 / 23:08
2
answers

How to pass multiple variables to a View in Laravel?

How do I pass multiple variables to the same view? Something like: return "view('textos.index', ['textos1' => $textos1, 'textos2' => $textos2, 'textos3' => $textos3]);"     
asked by 02.12.2016 / 22:56
1
answer

Laravel Mail, Error: Variable undefined

Good evening, friends, I'm having a problem, when I try to pass the variables from one control to another, it ends up accusing the variable "not defined": (Undefined variable: schedule) I do not know what I'm doing wrong, could anyone...
asked by 21.09.2018 / 05:43
1
answer

Laravel 5 - TokenMismatchException in VerifyCsrfToken.php line 67. How to solve this without using the FORM class?

I have a project in php / html and I'm moving it to laravel. Which means that a lot of things I will not create from scratch and I want to make the most of what is already written. I'm currently working with a form. In the original code it is...
asked by 02.08.2016 / 17:17
1
answer

Display hashed password in the database, decoded

I'm saving the passwords in the hashed bank, and now I want to view it in the view, because when I get the data in the bank it still has a hash when I'm going to display it. Senha: $2y$10$G9poHdud5XJxgiQq1p0syOMEgE.wNxBwZWoA8ux.KxsnXPf4tD...
asked by 31.01.2018 / 12:37
2
answers

Problem with routes in laravel

I have slugs stored in the database of different tables, I plan to use the url always so www.exemplo.com/slug . For this I created a single route for this that looks like this: Route::get('{slug}', 'SlugAppController@view'); This rout...
asked by 03.06.2017 / 19:47
1
answer

Installing Laravel 5.3 on ubuntu server 14.04.5 [closed]

Running the composer create-project --prefer-dist laravel/laravel blog command installs Laravel 5.2. My machine is installed with php 5.5.9 but php 5.6.26 is installed on the site. Why is laravel 5.3 not installed?     
asked by 27.09.2016 / 18:37
2
answers

Relationship Laravel 5.2 Eloquent

Good morning, I'm having a problem in a relationship between tables with Elouquent (Laravel) I have two tables [clients / business_activities] (innoDB MYSQL) In the client table there is a field (FK) called: _commercial_id_id In the bus...
asked by 26.07.2016 / 16:05