Most voted "laravel-6" questions
Laravel is an open-source framework for developing web applications and services with PHP. Before asking consult the official documentation of Laravel.
Learn more…11 questions
Sort by count of
-
1
votes1
answer69
views(Mutators or Middlewares) What would be the ideal use when converting a string before inserting it into the database?
Which would be more recommended to use when manipulating a string that in this case would be (,) for (.) when inserting a value in the database (Mysql) of decimal type in Laravel? 1 - Using a custom…
-
1
votes1
answer487
viewsProblem uploading images to Laravel 6 with Ajax
Currently I did a mini file upload project using the Asynchronous File Uploader (Ajax) and it worked. I went to try to upload images using ajax and my request is returning null, so I can not…
-
1
votes1
answer144
viewsAdditional Fields in Pivot Model Laravel 6?
I’m in my first Laravel Framework project and I’m having difficulty in relationship N:M, I have the database structure fornecedor->fornecedor_produto->produto** have my models: class…
-
1
votes1
answer358
viewsHow to customize authentication fields in Laravel 6
I’m trying to do a custom login with Laravel 6, but it’s not working. I have the following code: public function postLogin(Request $request) { request()->validate([ 'email' => 'required',…
-
1
votes1
answer33
viewsLaravel. How to use request to perform APP search
Good morning gentlemen I am starting my studies in Latin working with version 6 of the framework, and I came across problem that is probably a detail that I missed in my code. When trying to perform…
-
0
votes1
answer46
viewsInsert returns TRUE, but does not insert
I’m learning Laravel 6 and I made a registration form (I’m not using Laravel’s auth) and when I send the data and perform the Insert in the table it returns TRUE, but when I check in the Database it…
-
0
votes2
answers192
viewsPrint Database Data with FOR in Laravel
I am a beginner in the framework Laravel, in which I have a doubt, when printing database records for an html table, in all the examples I saw was used the foreach, I have also used.…
-
0
votes1
answer651
viewsMethod error The GET method is not supported for this route. Supported methods: POST
I already looked at the gringo stackoverflow and nothing. I tried to add @csrf and all the other solutions presented as clearing the route for example. What happens is that the error persists. Web…
-
0
votes1
answer133
viewsHow to treat an sql command in the Laravel controller?
Good night, you guys. I followed the dompdf tutorial successfully for static texts, now I wanted to make a query in the database to print the results in tables in a pdf and I get this error:…
-
-1
votes2
answers989
viewsHTTP request works via POSTMAN but does NOT work via android app
I have an API for an android app that worked for a while. Used Laravel 5.3 on the server side and upgraded to 6.0. By android application, I have returned the error "400 - Bad Request", but via…
-
-1
votes1
answer67
viewsDelete Laravel6x - with Sweetalert2
As I am beginner using Laravel (version 6x) I am having a problem to perform a Delete, I am using Sweetalert to perform the deletion follows the console error: POST…