Questions tagged as 'laravel'

1
answer

Questions in GroupBy Query and Checkbox - Laravel 5.5

I'm developing in PHP in the Laravel 5.5 Framework and I have the following code to create my checkboxes. {{-- percorrendo a tabela para exibir os checks--}} @foreach($permissoes as $keys => $dados_permissoes)...
asked by 12.12.2017 / 20:04
1
answer

Change column names used to save timestamp

When storing or editing data in a table by laravel it creates a timestamp that uses the created_at and updated_at But I have to store the data in a table shared with another system, and it uses another nomenclature to st...
asked by 13.11.2017 / 17:00
1
answer

Problems with paging in laravel

I have a page where the title of all the news on the site is listed, and it has pagination. I was asked to put a search field, to make it easier to search for a particular piece of news. I was able to do this form and the controller impl...
asked by 23.11.2017 / 19:39
2
answers

Update with ajax in laravel

I have a project in Laravel and I want to make it when the user type something in the text field, when taking the focus of the field it makes a ajax request to the server to update the information. However I am getting the followin...
asked by 10.02.2018 / 18:46
1
answer

How to run schedule: cron cron in Windows

I created a cron that should check every minute if the value of the end date is smaller than the current one ... if yes it should update the status field of this table. class SetStatus extends Command { protected $signature = 'SetStatus:cron'...
asked by 28.12.2017 / 02:26
1
answer

Ajax Request with Laravel 5.4

I'm trying to make an example request Ajax with Laravel 5.4 . The test example is simple, just enter a numeric value in a input=text field in my View and exits the field to send to Controller , then add + 10 to that...
asked by 30.12.2017 / 22:11
1
answer

Multiples environment laravel

How do I create multiple environment and mute at runtime the environment I'm using in laravel 5.5?     
asked by 27.10.2017 / 21:03
1
answer

Create Model from a Migration

I created migrations from the command migrate:generate pendence of the dependency link Is there any way to generate models from these migrations?     
asked by 05.10.2017 / 02:22
1
answer

ERROR when creating unique constraint with two fields in Laravel request?

I tried to implement an example that I found here in StackOverflow but without success. RULE: Unique double (user_created - description) / User code you created and Description CORRECT: |ID|USER_CREATED|DESCRICAO| |...
asked by 01.10.2017 / 02:18
1
answer

Search Form Laravel 5.5

I would like to know how to filter my bank data with a form where it contains more than 1 field to filter, I could only do one field only. Form: <form action="{{ url('panel/brands') }}" method="GET" name="frm_filter_brand" role="search"&...
asked by 09.10.2017 / 19:57