Most voted "laravel-5.3" questions
Laravel is an open-source framework for developing web applications and services with PHP. Prefer the Laravel-5 tag if you are not dealing with an exclusive Laravel 5.3 feature
Learn more…132 questions
Sort by count of
-
0
votes1
answer108
viewsGet description of sub-category PHP Laravel Eloquent
Hello, I need to get the description of my parent category, but I can’t get the description in the same select, I can only get the id of the parent category. I have a table with the following…
-
0
votes2
answers297
viewsReturn after sending email
In Laravel 5.3, at the time of sending the email it does not return anything. It would have to return some data to verify whether the email was sent or not? Something like that: $mail =…
-
0
votes1
answer113
viewsImage upload outside the LARAVEL folder
Good afternoon, I have a question, is it possible for me to upload an image in the project folder? Because I have a project that the folder of the site is outside the folder of the Arable and I need…
-
0
votes3
answers214
viewsHow to create a PHP progress bar using the Laravel Framework?
Please, someone can help me. I need to create a progress bar for a PHP application using the Laravel framework. Example: when loading (display the BD list) from a table with three thousand records…
-
0
votes1
answer290
viewsHow do I solve this problem of method create in Laravel
Well, I have a form that contains an html input of an image. When I send the form to Control, I do the image processing, taking his name and uploading to the image directory. More when I see in the…
-
0
votes0
answers63
viewsReflectionexception Laravel 5.7 instance Gcloud
I have deployed my application to a Gcloud instance and cannot access a specific page where I import files. Controller <?php namespace App\Http\Controllers; use Illuminate\Http\Request; use…
-
0
votes1
answer42
viewsHow do I get the id of after the select?
user selects a user by name, I need to find out which id is chosen. Thanks guys, I’m new to Laravel! How I get the value of users->id? {!! Form::select( 'id_users', $users->pluck('name'),…
-
0
votes1
answer168
viewsUUID in Arabic and eloquent
Well I know that in Laravel some new UUID methods have been added in this package use Illuminate\Support\Str; but what its not how to use in eloquent, can anyone help me to know how to modify the…
-
0
votes1
answer15
viewsCapture ID eloquently on JOIN
Good afternoon everyone, I have the following appointment: $acordo = tb_acordo::join('users', 'users_id', '=', 'users.id') ->join('tb_status_acordos', 'tb_status_acordos_id', '=',…
-
0
votes1
answer66
viewsI’m having a problem where I really don’t know how to do an event that hears an action on the Laravel
I have a slide show of images where the images registered in the database appear. The table is called events. In this table there is a field called end date, which would refer to the end of the…
-
0
votes3
answers2249
viewsError: Laravel ao Enviar email
When trying to send email in the Portuguese language I get this error message: [Swift_transportexception] Expected Response code 250 but got code "530", with message "530 5.7.1 Authentication…
-
0
votes1
answer231
viewsCrud Ajax Laravel 5.*
I have a little problem. I’m doing a crud with Ajax + Laravel. "Everything" is working, more than when I update a data, it also registers. Well see how I’m doing. I have a Bhutan that I have an id…
-
0
votes0
answers534
viewsError - Trying to get Property of non-object - Laravel
I moved my production bank ,to site the production base returns the objects already my local database appears this message My projectController /** * Lista todos os projetos ativos * @access public…
-
0
votes1
answer33
viewsError making the list
Trying to get Property of non-object: @foreach($civis as $civil) <tr> <td>01</td> <td>{{$civil->matricula}}</td> <td>{{$civil->nome}}</td>…
laravel laravel-5 laravel-eloquent laravel-5.3 laravel-bladeasked 6 years, 6 months ago Jonathan Silva Gomes 21 -
0
votes1
answer139
viewsRegister N for 1 and N for N?
How can I register in a relationship 1-N and of N para M, I’m doing it this way, but it’s not cool: $endereco = new endereco; $endereco->complemento = $request->complemento;…
laravel-5 laravel-eloquent laravel-5.3 laravel-bladeasked 6 years, 6 months ago Jonathan Silva Gomes 21 -
0
votes1
answer378
viewsCheck if registration already exists, if there is only link
I want to check if the address has already been registered, if it is already registered I just want to link it to a civilian, but if there is not yet want to register the new address and then link.…
laravel laravel-5 laravel-eloquent laravel-5.3 laravel-bladeasked 6 years, 6 months ago Jonathan Silva Gomes 21 -
0
votes1
answer451
viewsRoute restrictions with Laravel
Good afternoon. How can I restrict some specific routes with Laravel? For example. If I have an e-commerce I will have users administrators who can access the administrative panel routes and all…
-
0
votes1
answer100
viewsHow to use Anxious Loading nested in Laravel 5.4 correctly? My related tables return "null"
I have the following search in my application: $results = Profile::with('profileCategories.categories', 'informations')->where('ativo', '=', "1")->where('nome', 'like', '%' .…
-
0
votes1
answer141
viewsHow to pass an array by ajax to the controller?
I have an ajax that sends data from my selects to my controller and from there I do a check and query, so far everything is working perfectly. The problem is that the last select that sends is an…
-
0
votes1
answer159
viewsHow to do the unit test in the Validator class in an Laravel form?
A good day gentlemen. I am a programming student, at this time I am studying how to perform unit tests using the Laravel 5.3 In my tests I came across the following problem: My small system only…
-
0
votes1
answer677
viewsNot to pass an element ID through the Laravel URL
This is my route: Route::get('empresas/deletar/{notice}', 'EmpresaController@deletar'); This is the action of the button: This is my role in Controller: What happens if I pass this URL directly in…
-
0
votes1
answer75
viewsHow to upload database data to Welcome view in Windows?
I am creating a system in Aravel 5.3, already activated the auth and put a Carousel in the Welcome view that searches the address of the images in the bank. When accessing the default Welcome view…
-
0
votes2
answers83
viewsPHP Lumen - TDD test Image upload does not work in PHP’s Lumen framework
I’m trying to create a test method for uploading images using the PHP framework (Lumen). However I am having problems with the following Uploadedfile method: $request->file('images') it always…
-
-1
votes2
answers77
viewsFramework Laravel
I’m new with Laravel Framework 5.3 and can’t change the default index, which is the file /Resources/views/welcome.blade.php. I tried two things: Change the default file; Create a new file and swap…
-
-1
votes1
answer1018
viewsACL Laravel 5.3
Is there any tutorial to create the structure of ACL (Permissions and roles) for Laravel 5.3? I tried to use the Zizaco/Entrust package, but even following the setup steps of github it didn’t work.…
-
-1
votes1
answer130
viewsPicking up API data
Good Morning, I am taking data from an API and it returns me 100 records per page, however it does not tell me how many pages there are of record. The only information that is passed to me is when…
-
-1
votes1
answer434
viewsSwap the Welcome view for another in Laravel 5.3
I plan to replace the Welcome view with another one I created with a controller. For better understanding, here’s my attempt that’s not working: Route Route::get('/portal',…
-
-1
votes1
answer59
viewsProblems to delete with ajax in Laravel 5.3
Controller public function deletar($id) { $dado = Todo::find($id)->delete(); return response()->json($dado); } Route Route::get('/deletar/{id}',['as'=>'todo.deletar',…
-
-1
votes1
answer64
views"Like" and "Dislike" buttons don’t work without updating the page
I’m developing a post system, where in each post viewed, I put a "Like" button and a "Dislike". I implemented a code that updates the page when one of the buttons is clicked, worked perfectly,…
-
-1
votes1
answer86
viewsHow to insert null values into a data list?
I believe the problem is here: 'tlkc_conversation_2' => '', I am trying to enter data in the database, but some fields are null, and I am receiving the following message: Illuminate Database…
-
-2
votes1
answer74
viewsdisable a field from a select value
greetings! I’m trying to do the following: in my select field has several values among them the other one that should only be used if the value is not in the field. and a text field coutro which by…
-
-3
votes2
answers4144
viewsHow to create a secure login system connected to the database in Laravel 5.3?
I have a project in laveral 5.3 that I am building an administration. I already have the whole database structure created. I now want to login with fields username and password. You won’t have a…