Questions tagged as 'laravel-5'

2
answers

PHP - Laravel - Send a data inserted in the bank to another view

I've read about this, but I still can not solve my problem. is as follows, I have a separate Laravel view to register user. Ai in theory should redirect to another view where it will provide other user data. But I am not able to send the id o...
asked by 10.09.2017 / 18:14
1
answer

How to identify which method called the view in Laravel 5.4?

How can I identify which método is calling view within itself? Example: IndexController.php public function create() { return view('index'); } Inside the file view/index.blade.php how do I return the method th...
asked by 29.08.2017 / 03:20
1
answer

How to give permission to write temporary files in the c \ windows \ tmp folder with laravel 5.4?

I would like you to help me solve this problem: How to give permission to write temporary files in the c \ windows \ tmp folder with laravel 5.4?     
asked by 06.08.2017 / 03:51
1
answer

Many to many relationship with id of type UUID Laravel 5.4 Eloquent ORM

I'm following the Laravel documentation to make this relationship with the id's type. In the methods of the relationship I specified the pivot table and the IDS fields, however I was debugging the tinker to see if it was really working and it re...
asked by 04.08.2017 / 15:52
0
answers

Authentication with JWT Auth and dingo API Laravel 5.4

I did an authentication with the default user model of Laravel 5.4, but now, I did the same implementation, only with a custom model, and it's not working. I get this error "message": "Undefined index: password" . Model: <?php na...
asked by 03.08.2017 / 16:11
0
answers

Sum of time worked by several employees

I have a collaborators table, and 2 other activity tables, each with a time column used to perform that activity and would like to add these tables to know the total time, for example, employee A did 10 hours on a project (table 1) and another 1...
asked by 10.08.2017 / 23:26
1
answer

OAuth2 Authorization Problem using Wamp in Laravel 5.1

Good evening, I'm studying API RestFull with Laravel 5.1 and I ran into a problem requesting a request in OAuth. When I run the built-in PHP server it works normally link WhenIuseWampServeritgivesthismessage: link Does anyone kno...
asked by 21.07.2017 / 02:50
2
answers

Laravel directing HTTP method to erroneous function on Controller

I have a project in Laravel and Vue.js where I have a function in Vue.js that sends a post with the data of a form, so far so good, except that when the this.$http.post() function makes the request for the backend, th...
asked by 13.07.2017 / 23:41
1
answer

Problems with Middlwares - Laravel 5.4

I am using a middleware in Laravel 5.4 and would like it if the logged in user had 2 permission to be redirected to / admin / inscripts. The scope of the handle method looks like this, but redirection does not work. Any ideas? namespace App\Ht...
asked by 12.07.2017 / 21:03
0
answers

Laravel - Pass more than one parameter using use in callback functions?

It is as follows, I have a function of callback of this type: \Excel::create($limite_vagas_array[0]['nome_curso'] .' - '.$limite_vagas_array[0]['nome_polo'] .' - Limite de vagas', function($excel) use ($limite_vagas_...
asked by 11.07.2017 / 22:24