Questions tagged as 'laravel-5'

0
answers

Problem when deploying larval application in heroku

I'm having trouble deploying in heroku with a large application, heroku is not seeing my pages with .blade.php extension. For example: index.blade.php But if I change to index.php he sees, someone has already gone thro...
asked by 20.09.2017 / 15:24
1
answer

APP_URL of .env register entire URL (beyond the domain) of the application

I have a server with a domain where there are several applications Laravel, for example, the path of the application1 looks like this: link p> The problem is that when I push APP_URL = link app_url only generates routes with the domain, f...
asked by 20.09.2017 / 19:07
1
answer

How to do pagination in a table that is related Laravel 5.4

There are 2 tables and a pivot where it makes the ManyToMany relationship between 2 tables . A table is called Postagems and the other table is named Departamentos , so I'm trying to do a related search by depart...
asked by 01.10.2017 / 00:00
1
answer

caption marker google maps laravel

I use the cornford google googlmapper package of laravel where all intelligence stays in the controller and maoa passes to the view via java script rendered, I need to insert legend in the map marker so that it looks like the example below:  ...
asked by 12.09.2017 / 00:10
1
answer

Problems with {!! Form :: model () !!}

I have a form where I make the inclusion in the page create.blade.php and the edit.blade.php More when I go to fix the element does not appear the tag <form></form> More when I remove the @include ('dashboard.usuario.formul...
asked by 15.08.2017 / 03:50
0
answers

Varnish working only with Curl

Good morning, this is my scenario, I am using laravel 5.3 and Varnish 5, I created a middleware that passes a response with the following Headers X-Cacheable:1 Cache-Control:max-age=300, public No Varnish vcl on vcl_backend_response if (b...
asked by 09.09.2017 / 13:59
0
answers

MethodNotAllowedHttpException in RouteCollection.php - Laravel 5.4

I got this error when putting a project on the server and trying to insert a product into the database. Error    Whoops, looks like something went wrong. (1/1)   MethodNotAllowedHttpException in RouteCollection.php (line 251) Web.php  ...
asked by 11.08.2017 / 06:04
1
answer

Reference in Related Tables | Laravel 5.4

I have the following relationship on a test system I'm doing. :: MODEL EMPLOYEE public function users(){ return $this->hasMany('lbo\User'); } :: MODEL USER public function employees(){ return $this->belongsTo('lbo\Employe...
asked by 05.07.2017 / 18:54
0
answers

Slow mail sending with Laravel?

I'm doing some mass mailing tests but I'm finding the process being done with Laravel slower. The reason I found the submission slow was that I worked in a company where on average 50 ~ 60 thousand emails were sent around 10 to 12 hours....
asked by 06.06.2017 / 21:40
1
answer

How to filter by method? Laravel 5.4

I need to filter all the images that have a specific link, I was able to filter through status of the product table, but what binds the image to the product is the image(); method of the Produto class: Method image()...
asked by 23.03.2017 / 12:57