Questions tagged as 'laravel-5'

1
answer

laravel validation required if

'tipo' => 'required', 'cpf' => 'required_if:tipo,F|cpf', 'rg' => 'required_if:tipo,F', 'cnpj' => 'required_if:tipo,J|cnpj', 'inscricao_estadual'=> 'required_if:tipo,J', Next...
asked by 19.02.2018 / 21:48
1
answer

Redirect after update laravel

I'm working on a project with laravel and I came across a problem. After the Update I want to redirect the user to another specific page. In the update function of my Controller I have this code: public function update(Request $request, $id){...
asked by 27.01.2018 / 23:51
1
answer

User is not authenticated Auth

I can not get the user to be authenticated, so he enters my route with the auth middleware ... I can log in but I can not get the user logged in, for example I can not enter any route with middleware auth and nen to use no helper method Auth ::...
asked by 27.02.2018 / 16:39
1
answer

Login with Ionic using laravel for the backend

Good afternoon. Could anyone suggest some tutorial on how to login with ionic 1 using laravel 5 or 5.3 for the backend? Att, Mauritius.     
asked by 16.12.2017 / 20:54
1
answer

How to make the project Laravel see the axios file?

Before I was having trouble making the project see the file as you can see in this post: I need make my Javascript file see the vue and axios files He was like this: Andnowit'slikethis,ithasbeenfixed: Thechangewastoputthefileaxiosand...
asked by 01.11.2017 / 11:08
1
answer

How to correct validation messages?

I am learning to program in Laravel with VueJs, I am a beginner, I started to develop a simple CRUD and I was able to implement all the functionality of a CRUD, including field validations, my problem is with the field validations, in their mess...
asked by 27.10.2017 / 13:36
1
answer

How to set up a Laravel project with VueJs

Hello, I am a simple Laravel project and would like to configure my project for it to accept vue.js, but I am having this error message; "Use of undefined constant titulo - assumed 'titulo' (View: C:\Users\Wladimir\Documents\projetos php\imove...
asked by 22.10.2017 / 20:32
1
answer

Keep data already filled in the form

When I bring in the form for the user to fill in, I need that if the data already exists in the database, it will bring me the completed form with the possibility of the user "editing", but always creating a new record and not changing the alrea...
asked by 28.09.2017 / 00:04
1
answer

How to fix the error: Method getClientOrinalExtension does not exist, in image upload with laravel 5.4? [closed]

Once again I need your help a lot. You are giving me the following error when uploading image in laravel 5.4:    Method getClientOrinalExtension does not exist. The following is my controller and the view: Controller namespa...
asked by 06.08.2017 / 01:12
1
answer

How to consume RESTFul API data? [closed]

I watched some video lessons about RESTFul and did one in Laravel 5.4. Now I would like to use a template that I have done in HTML5 + Bootstrap 3 to consume this data, where do I start? What do I need to do?     
asked by 21.06.2017 / 22:07