Questions tagged as 'laravel'

1
answer

How to use variables in view in laravel 5

I'm developing a project of "borrowing" things from a company and I'm locked in a key module. So I do not have much experience in laravel, so I came across the following situation: Database - I have a LOCAL table that correlates with multip...
asked by 20.06.2016 / 23:53
2
answers

Make sum with SUM ()

The query that works in PhpMyAdmin: Select sum(D.CargaHoraria) as CargaHorariaTotal, C.NomeCurso, C.CursoId, A.Imagem from Curso C inner join Disciplina D on D.CursoId = C.CursoId...
asked by 22.12.2016 / 13:29
1
answer

Exception handler return in JSON

I am building a RestAPI using Laravel / Lumen , in tests it can happen that the return is entirely in HTML, this occurs when that already famous screen appears: Whoops looks like something went wrong This is very difficult to test the re...
asked by 24.01.2017 / 00:50
1
answer

insert data passing only $ _POST using Laravel

Assuming that all% of% of inputs have the same name as the column of the database. public function create(){ // o que está abaixo é um exemplo com os dados já populados $arrayDados= Input::all(); unset($arrayDados["_token"]);...
asked by 21.05.2016 / 02:58
1
answer

How to integrate KCFinder with Laravel?

I'm making a form where the user can insert an image along with the text. Searching the internet I found KCFinder that does exactly what I need. I made it up with CKEditor and so far so good. The problem is that I'm developing the application wi...
asked by 11.07.2016 / 21:27
1
answer

Laravel Template Help!

I have two blade.php files and I can not see the content in the browser. @extends('layouts.index') @section('content') @parent <div class="container"> <div class="row"> <div class="col-lg-12 tex...
asked by 05.05.2016 / 15:55
1
answer

Artisan command not to lose data from the database

Hello, I'm starting to work with laravel 5 and am having a problem when I run the migrate commands the data is lost in the database, is this expected? The command php artisan migrate works on the first call and the other php artisan...
asked by 25.02.2016 / 04:31
1
answer

Error uploading site

Personally I just uploaded a site of mine made in Laravel 5.2 with pho 5.6 locally. I uploaded to a shared hosting in Locaweb that I have. I configured PHP 5.6 correctly and uploaded the site to this giving me the following error message.   ...
asked by 16.05.2016 / 15:23
3
answers

Laravel - How to use a combobox in the 'on load' event of a view (blade)

I need a combobox with data coming from the database, but this fill should occur when loading the view. Since the view is not the correct place to write code, how to feed the combobox? Through a method in a controller? What is the 'mechanism'...
asked by 17.05.2016 / 13:33
1
answer

Can I use Laravel 5.3 on projects made in 5.2?

My note has crashed and I'm setting up the vagrant virtualbox environment in another note. I was using Lavarel 5.2. Can I install version 5.3? Will I have any compatibility issues with my projects made in 5.2? Obg     
asked by 10.01.2017 / 00:31