Questions tagged as 'laravel-5.3'

0
answers

Select column when importing Excel file into Laravel database

I need to make a resource in an application using Laravel. When giving an Excel spreadsheet allow the user to choose which columns to save to the database. Example: I have a spreadsheet with 3 columns, but I just want to select (use some way to...
asked by 27.06.2018 / 15:08
0
answers

Locale Laravel does not recognize ptBr

I have a problem with the configuration in laravel in the language part. I create the new folder with the translated files called ptBr aponto no app.php 'locale' => 'ptBr' , instead of en. But it returns the broken messages, as an...
asked by 19.06.2018 / 23:00
2
answers

Return after sending email

In laravel 5.3, at the time of sending the email it does not return anything. Would you like to return some data to see if the email was sent or not? Something like this: $mail = Mail::to('[email protected]')->send(new ContatoEmail($dado...
asked by 16.05.2018 / 19:47
1
answer

Uploading image outside the LARAVEL folder

Good afternoon, I have a question, is it possible for me to upload an image in laravel out of the project folder? Well I have a project that the site folder is out of the laravel folder and I need to display images uploaded to laravel on this si...
asked by 16.05.2018 / 21:04
1
answer

Ajax receives no response from laravel controller

PHP public function salvar_distrito(Request $request) { $distritos=Distrito::create($request->all()); if ($distritos) { $messagem = 'Adicionado com Sucesso!'; echo true; } // Se houver algum erro ao inserir...
asked by 03.05.2018 / 13:59
1
answer

How to use nested 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', '%' . $request->search . '%')->orWhere('sobre', 'like', '%...
asked by 21.04.2018 / 03:25
1
answer

Open existing project Laravel

I need to open a project previously made in laravel. I've never worked with laravel, so I do not know where I might be going wrong. The project came in a .zip file when I unzipped it it created a folder called engraf182-my-project-6609a7d5...
asked by 26.02.2018 / 18:11
0
answers

Add multiple elements to the owl-carousel using pagination

I have a collection of items that should be added to owl-carousel I have the following list of routes: Route::get('/', 'Controller'); Route::get('listObjects', 'Controller@listObjects'); In Controller I have the following m...
asked by 22.02.2018 / 23:25
0
answers

Notification with ionic and laravel

I'm developing an App in Ionic (version 1) and using a WebService with Laravel . But when I update the request status of a client, I need a notification sent to that client. I looked at some plugins like phonegap-plugin-push, cordova-p...
asked by 17.02.2018 / 14:01
0
answers

Ajax problem in Laravel 5.3

I need help on how to save the cpf from the client to the ajax database without redirecting from the product page when ordering. follow the code I'm trying to use: $('#add_CPF').on('submit', function(e) { e.preventDefault();...
asked by 06.02.2018 / 03:59