Questions tagged as 'laravel'

1
answer

Laravel environment with multi login

I have a personal project that I would like to make available to some companies, but each company must have its own login, so the login screen should have the following address: www.projeto.com.br/empresa/login . That is, what I want is...
asked by 04.08.2017 / 21:25
2
answers

Error making relationship with laravel

   Call to undefined method Illuminate \ Database \ Query \ Builder :: BeltTo () My Models <?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Imovel extends Model { //definindo nome da tabela na migra...
asked by 02.08.2017 / 20:06
1
answer

Error trying to insert into the database with Laravel

I'm using Laravel and I've been banging my head for a long time trying to figure out the cause of the following error when trying to insert :    (1/1) ErrorException   Illegal offset type       in HasAttributes.php (line 818)  ...
asked by 03.08.2017 / 02:29
0
answers

Modal Bootstrap at Laravel

I'm having problems with a modal, when I make a request via ajax to get the contents of my route, modal opens the whole json content, however I can not format this content My View @extends('layout.admin.app') @section('conten...
asked by 22.08.2017 / 00:29
1
answer

Laravel does not save session in POPUP

On my page you have 3 Login options: Email, Facebook and Google. When I sign in via email - using Auth::attempt() - everything is fine. In this case I login for a fancybox and not for a popup . In this fancybox there are two button...
asked by 27.07.2017 / 13:27
0
answers

Sum of time worked by several employees

I have a collaborators table, and 2 other activity tables, each with a time column used to perform that activity and would like to add these tables to know the total time, for example, employee A did 10 hours on a project (table 1) and another 1...
asked by 10.08.2017 / 23:26
1
answer

How to use an .php extension file in a Laravel form?

I have a .php file that was developed in php pure and need to use it in Laravel . For this I need to call it directly from the action of a form , however the application is being developed in Laravel ....
asked by 20.07.2017 / 05:40
2
answers

How to total fields in the blade using Laravel?

Expensive, I'm doing dashboard , and I set up a table in HTML , in View and I need to total some columns, and I'd like to do that right in HTML , however since I'm using DB::select I can not use the SUM com...
asked by 15.07.2017 / 01:36
0
answers

Executing dll via php and laravel

I have a project in php with laravel and I need to use some functions contained in a dll, I tried to use the native COM (Component Object Model) class of PHP, but the laravel as class not found, how can I use this class that is native to php in...
asked by 25.07.2017 / 18:52
0
answers

I bought a site but I do not know how to install it. [nginx, laravel, linux]

The site is nginx laravel, if it were apache I would even know it. This is written, but does not say the commands I have to give in vps to install this and tals:     
asked by 19.07.2017 / 00:45