Questions tagged as 'laravel-5.3'

1
answer

ajax pagination in laravel

How could I make an adaptation of my code to make paging work without updating the page with ajax? My functional paging code looks like this: route set Route::get('/home', 'HomeController@main'); HomeController.php public func...
asked by 01.12.2017 / 11:09
1
answer

Crud Ajax Laravel 5. *

I have a problem. I'm doing a crud with Ajax + Laravel. "Everything" is working, except that when I update a data, it also registers. Well, look what I'm doing. I have a Bhutan that I have an id called dashboard_character_category. This id is fo...
asked by 03.11.2017 / 00:18
1
answer

How to get all users logged in at the moment in Laravel 5.4

I need to loop with all the users who are currently logged into the system. How could I do that? I know that with auth()->check() we can know if a user is logged in. Plus I wanted to know everyone who is logged in right now. Is there a...
asked by 19.10.2017 / 23:34
0
answers

Change templade email sent to reset password in Laravel 5.3

I created the authentication module of my application with php artisan make:auth and the password reset method is created automatically by it, everything is working blz ... what happens is that I want to modify the view where the email is...
asked by 23.09.2017 / 05:22
1
answer

Validation with AJAX in Laravel

I'm not sure what to do with AJAX, but I'm not sure how to do it. You have some tutorial (can be in English) with examples of controller, view and script, being POST request. Of course, obg.     
asked by 29.06.2017 / 22:06
1
answer

Get PHP sub-category description Laravel Eloquent

Hello, I need to get the description of my parent category, but I can not get the description in the same select, I can only get the parent category id. I have a table with the following structure Below is the code that I am getti...
asked by 28.06.2017 / 20:12
0
answers

Configuration PHPStorm 2017.1.1 + Lavarel 5.3 - Problems in routing / Execution of the project

Dae personally ... I need help setting up the project, as I believe that is the problem. Scenario: Client bought a site, guy did and left, disappeared, full of error and running in half ... Client came to me only with the site link and the ac...
asked by 26.05.2017 / 19:49
0
answers

Problem with Laravel's migrate?

I just installed Laravel on my pc to learn a little bit. But I'm having a little problem using migrate . Whenever I try to use migrate , it has the following error:    [Illuminate \ Database \ QueryException]         SQLSTATE [42...
asked by 12.05.2017 / 22:17
0
answers

Problem with alphabetical ordering in laravel?

I have a query in laravel that lists me all the users that exist I want to sort alphabetically but the way I put it through the laravel documentation and how I have done does not order does nothing PHP private function getChilds(ar...
asked by 02.05.2017 / 18:18
0
answers

Laravel is not generating CSRF_TOKEN

In the html meta <meta name="_token" content="{{ csrf_token() }}"/> Laravel is not generating csrf token after adding middlware in the route, I will show 2 examples: When I add this middleware it does not work, that is, it does...
asked by 26.04.2017 / 04:17