Questions tagged as 'laravel-5.3'

1
answer

Required_if with more than one field in Laravel 5.3

I have the following situation: I want a field to be mandatory only if the other two are null , if one of the other two is not null this field is no longer mandatory. I thought about using required_if , but I believe that i...
asked by 05.02.2017 / 19:17
1
answer

How do I check credentials before logging in to Laravel 5.3?

My application uses Laravel's ready authentication, however I'm requiring users to log in to it from a webservice. So what I'm trying to do is that if the guy exists in the application database, he does Laravel's native authentication, if not...
asked by 11.01.2017 / 21:19
2
answers

Is there a way to clear field formatting before going through validation? [duplicate]

I'm trying to look on the net as I solve this and it's taking a lot of time, it seems to be something simple but I'm breaking my head, so I decided to create a post here. I'm using Laravel 5.3 with MySQL in an environment provided by Larave...
asked by 20.12.2016 / 18:07
1
answer

Problems with laravel 5.3

I'm having trouble setting and grabbing items from a sessão , in this case I'm setting which page should I mark in the menu as active . No __contruct of my controller I'm doing this: public function __construct() {...
asked by 06.01.2017 / 11:47
2
answers

I do not understand why empty says that the variable is not empty

There is a membership module where members of a church are registered. For this register will be shown on the main page the birthday of the day in a jQuery slide. But when you do not have a birthday boy, he'll show you something else. When you d...
asked by 22.09.2017 / 17:55
2
answers

How to upload and configure a project with Laravel on the server

I'm starting with Laravel 5.3 and learning how to explore all of its features. But I have a question. How would my project look on the server (in production). Today my projects are inside a folder with the index.php file in the root. What woul...
asked by 28.07.2017 / 16:17
2
answers

I can not use foreach with object twice in the same view in laravel

I have a big problem that I can not solve because I am still a beginner in Laravel. The problem is that I'm developing a web application and I need to list the cities object in two different select, however when I add the second foreach it gives...
asked by 26.10.2017 / 20:07
1
answer

RelationsShips Larval 5.4 Accessing search data with with?

I have a relationship of One To Many , I wanted to know how do I access data from the two tables. See: Album::with('imagemAlbums')->where('departamento_id', $id)->get(); Return from dd()    Now in my View...
asked by 24.08.2017 / 02:07
1
answer

Laravel 5.3 update field JSON MySql - # 3143 - Invalid JSON path expression

Query generated by laravel: update 'informations' set 'parameters' = json_set('parameters', "$.'Campo teste'.type", 'string'), 'parameters' = json_set('parameters', "$.'Campo teste'.value", 'Novo valor') where 'parameters'->'$."Identificaçã...
asked by 24.08.2017 / 18:16
2
answers

Hosting Laravel 5.3 system in subdomain

Good afternoon. I am having a problem with uparing my system created with laravel 5.3 for hosting. I created a folder for the Project and placed the files from the public folder for public_html. I have made the redirects, but I am having...
asked by 10.01.2017 / 21:12