Questions tagged as 'laravel'

1
answer

How to pass a parameter from laravel to jquery

Well, I have a button that when clicked should open another page, loading via Ajax the results of the bank. The problem is that I have to pass an id by that button to the Ajax request. Making an analogy is like a button that would load a page wi...
asked by 07.05.2018 / 23:51
0
answers

Help to get input ajax with laravel

I need to get the input city of the form below, I use it in laravel $ input ['city'] but it does not get it. Now uf $ input ['uf'] takes the code below. <select name="uf" id="uf" class="form-control"> <option value="">-- Escolha o...
asked by 22.04.2018 / 03:06
0
answers

How to change the value of a php variable using JavaScript or Ajax?

Contextualization When you register a project by default the Documentation Status is pending as a result of this configuration the project tabs are not visible. IfyouchangetheDocumentationStatustoAuthorizedorCompliantandthenpresstheAuth...
asked by 10.04.2018 / 22:32
1
answer

Help with error Trying to get property of non-object Laravel

I have a relationship, where I try to get the name of a teacher, I can return the id of it, but when I try to return the name it gives me the message Trying to get property of non-object My code looks like this: Model Course.php <?php...
asked by 25.03.2018 / 23:37
1
answer

Error creating new project Laravel

I'm trying to create my first Laravel project, I'm using Ubuntu 16.04 LTS and when trying to create my new project it shows the following error:    composer create-project --prefer-dist laravel / laravel app "5.2. *"   The " link " file could...
asked by 26.03.2018 / 14:10
2
answers

Return relationship data and generate PDF in Laravel / DomPdf

Hello, I have a problem and I found a part of the solution here, I'm dealing with this in a different way in another question, however I decided to test a form I saw here from the user Vigilio about DomPDF My case is as follows, I have course an...
asked by 27.03.2018 / 18:35
1
answer

Help with view laravel

I need to show two categories in a view . I tried the following, but without success: public function index() { return View::make('Titles.IndexFutebol')->withType('time1')->withType('time2'); } only shows type time2 ....
asked by 23.03.2018 / 13:58
0
answers

Send csfr_token from a client

I would like to know if you have a csrf_token from a client application for my webservice laravel Or do I have to disable larak's TOKEN check? If you have how to send, how is it? What I want to test from Postman and later an application...
asked by 06.04.2018 / 18:21
0
answers

How to destroy all sessions of a user, save the current session?

How can I log out of all other sessions of a user at a single time, preserving only the current session? I want to apply this behavior when resetting the user's password. By default Laravel keeps old sessions valid even after the user changes...
asked by 05.04.2018 / 02:47
1
answer

Auth :: loginUsingId does not work in Lumen

I'm trying to use the Auth::loginUsingId method in Lumen, but I get the following error:    (1/1) BadMethodCallException Method loginUsingId does not exist. in   Macroable.php (line 74) at RequestGuard-> __ call ('loginUsingId',   arra...
asked by 16.04.2018 / 21:32