Questions tagged as 'laravel'

1
answer

fopen and fputs for Amazon S3 by Laravel

In php, is it possible to send an image file, obtained through the return of a request by cURL, directly to an S3 bucket using Laravel's methods? If yes, how?     
asked by 13.07.2018 / 16:52
1
answer

Route with variable

I would like to know in Laravel, in saying the name of the route, it accepts the variable, instead of the name itself, such as: Example: Instead of being like this: {{ route('minhaRota') }} Look like this: var minhaRota = 'minhaRota...
asked by 10.07.2018 / 13:51
0
answers

Accessing modules via address bar

I finished today the integration of a project using Angular 5 + Laravel. Before the integration, I could normally access the pages by typing in the address bar, for example: 127.0.0.1/app/appexample, but currently after the integration, when try...
asked by 10.07.2018 / 15:54
0
answers

laravel project creation. problem npm

Hello, I'm having trouble creating laravel projects. When I create a new project, when I open it on netBeans, it gives a red, that red of problems. When I go there click on "solve problems", the cause of red is a message like "are missing npm mo...
asked by 05.07.2018 / 03:04
0
answers

Laravel - is speaking that the variable n exists even if it exists

I'm new to laravel. I made a query to the bank and such and assign a variable a value but when I try to inject it it says it does not exist  @php                                                             $ results = DB :: select (SELECT Es...
asked by 05.07.2018 / 18:41
0
answers

Problem receiving return array - Laravel / Vue.js

When I run dd($var) #attributes: array:3 [▼ "id" => "1" "department" => "TÉCNOLOGIA DA INFORMAÇÃO" "branch" => "BIGUAÇU" ] Vue.js error:    app.js: 42893 [Vue Warn]: Error compiling template: At the end you have...
asked by 27.06.2018 / 23:12
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

Go through an array again according to the request - PHP / Laravel

I have an array with 10 bus stops: array:10 [▼ 0 => array:4 [▼ "id" => 1 "nome" => "Parada 1 - Avenida Liberdade - Aeroporto (Opcional)" "endereco_completo" => "Avenida Liberdade" "tempo" => 8 ] 1 => arr...
asked by 25.06.2018 / 00:33
0
answers

Average sales ticket using AVG Laravel

I'm trying to calculate the average sales value of a store, but I'm having some problems calculating the total value of each sale, Controller: $valor_total = PedidoProdutos::with('valor_por_pedido')->get(); Model: use Illuminate\Data...
asked by 07.07.2018 / 15:51
0
answers

I can not call bootstrap icons on laravel

Hello, I'm not able to call the bootstrap icons in my laravel, for example: : <span class="glyphicon glyphicon-th-list"></span> Does anyone know how to explain pq?     
asked by 26.06.2018 / 18:02