Questions tagged as 'laravel'

1
answer

Use jQuery-Mask with Laravel

I'm trying to use jQuery-mask with Laravel, but it does not work. If anyone can help:) When I look at the Chrome Console tab it gives the following error: Mycodeisasfollows(headtag):<head><scriptsrc="/public/jquery-mask-plugin.js...
asked by 19.09.2018 / 03:05
1
answer

Call to undefined method Illuminate \ Database \ Query \ Builder :: table ()

I'm trying to populate a datatable, but I'm not doing it at all. Could you help me? ============= Evaluator_Report - Model ======== <?php namespace App; use Illuminate\Database\Eloquent\Model; class Avaliativo_Relatorio extends Model...
asked by 19.09.2018 / 22:30
1
answer

Create query in query builder - laravel

I'm starting to work with Laravel and I need to make a query in the database, it's a simple query, but as I'm starting I still do not know how to do it. I need to get the sales made today, yesterday, this month, previous month, current year...
asked by 14.09.2018 / 22:45
1
answer

Expose an object (based on the request) for every application

Oops, I do not know if it's possible to do what I want, but come on: I have an api in lumen which basically read a specific header from the request and parse it into a YAML file and transforms it into an array, but as I use it in several diff...
asked by 18.09.2018 / 22:06
1
answer

Return variable inside if to go to view

I want to write a code so that the user picks an ID in a combobox and specific information is shown in the HTML, but I need to do an if to know if the chosen vendor is A, B or C, but I can not return the variable inside the if to pass to view....
asked by 12.09.2018 / 15:16
0
answers

Problem of Schema Soap Laravel

Hello, guys. I'm trying to connect in a soap webservice using laravel. First the webservice is in a vpn, so I need to do a proxy, however I'm trying to consume. My mistake is this. SoapFault SOAP-ERROR: Parsing Schema: can not import schema. Nam...
asked by 13.09.2018 / 21:45
0
answers

How to simulate an ob_flush () in Laravel?

I have a form that I upload. And sometimes the upload file is large. My site is on AWS using Load Balancer. Load Balancer expects a response from the request at a given time. However, the request is POST. How do I start on blade what is...
asked by 10.09.2018 / 17:04
1
answer

Undefined index Laravel

When I make a request I'm getting undefined index . The code in question: protected function create(array $data) { return User::create([ 'name' => $data['name'], 'email' => $data['emai...
asked by 15.09.2018 / 17:22
1
answer

LARAVEL - Error connecting MYSQL with LARADOCK in Workspace

When I try to run the command in the laradock workspace php artisan migrate the following error occurs: Illuminate\Database\QueryException : SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client (SQ...
asked by 15.09.2018 / 06:15
1
answer

"Undefined property: stdClass :: $ email" laravel

My validator returns the errors in the request. I would like to check if the variable I save my errors has the email error to then return the correct response. I tried something like: public function register(Request $request) {...
asked by 15.09.2018 / 16:39