Questions tagged as 'laravel'

1
answer

Consult with distinct in Laravel

I have the following table: I need to count the number of records where supplier_id equals 2 but does not repeat the order_id column. In that case it would return 1, since it has two records with 2 in supplier_id , b...
asked by 05.01.2018 / 03:32
1
answer

Scheduler Laravel 5.2

Good evening. I use the Scheduler of Laravel 5.2 to send emails and now I have a problem. Until Friday I was able to send signature emails in img normally, but on Friday night we migrated our servers and started using PHP 5.6.9 (for...
asked by 27.02.2018 / 22:18
1
answer

User is not authenticated Auth

I can not get the user to be authenticated, so he enters my route with the auth middleware ... I can log in but I can not get the user logged in, for example I can not enter any route with middleware auth and nen to use no helper method Auth ::...
asked by 27.02.2018 / 16:39
1
answer

Login with Ionic using laravel for the backend

Good afternoon. Could anyone suggest some tutorial on how to login with ionic 1 using laravel 5 or 5.3 for the backend? Att, Mauritius.     
asked by 16.12.2017 / 20:54
1
answer

Chosen does not work with laravel

I'm trying to use Bootstrap + Chosen with laravel within modal, but it just does not work. I made all the imports and nothing Imports I did like this: <link href="{{ asset('css/chosen.min.css') }}" type="text/css" rel="stylesheet" >...
asked by 24.11.2017 / 13:44
1
answer

How to use Blade-Laravel in an MVC project that is not running with Laravel?

We have here a great system in production that needs to be redone 100%. Many discussions and uncertainties have not yet reached the conclusion of the framework that will be used. At the moment we are using an MVC architecture but without a...
asked by 27.11.2017 / 20:19
2
answers

Decreasing the value of two fields of a table and sorting according to the result

I have the field "killed" and "died" in the table, I need to make the order of the results come according to the decrease of these two values, My query looks like this: $woes = DB::table('woeplayerrank as woe') ->join('char', 'woe...
asked by 23.10.2017 / 21:20
1
answer

Search using model

I would like to use my model to do research in Laravel. I would like, if possible, someone could explain me: I have my model class minhaModel extends Model { protected $table = "minha_model"; public $timestamps = false; prote...
asked by 20.10.2017 / 14:13
1
answer

How to work with data validation in Laravel

I'm currently working with Laravel 5.5 , however, this question applies to " all versions " because of its generalization. My question is: I'm using $this->validade to validate data coming from form . What would be the recipe to...
asked by 20.10.2017 / 13:08
1
answer

Disable forms autocompletion in Laravel?

Hello. I searched all over the internet and could not find it. I simply can not get Laravel's autocomplete off. The 'autocomplete =' off '' for this, does not work for the fields if email and password. Does anyone have an alternative to do...
asked by 04.11.2017 / 13:13