Questions tagged as 'laravel'

2
answers

Queries between tables with Eloquent - Laravel 5

Well, I have the following problem when using Laravel 5 in the table relationship: I have these 4 tables (hypothetical names to illustrate the problem): UsingtheLaravel5templatesI'velistedthemtogether:CompanyTemplatepublicfunctionpessoa(){...
asked by 21.03.2015 / 22:04
1
answer

Sort the result of a search with filter

I have a search on the site and I can opt for several filters and this already works by returning and paging correctly. Example:    /empresas?estado=2&tipo=3&page=2 The problem is when I click to sort by a select fo...
asked by 29.01.2016 / 14:25
1
answer

Broadcasting with Laravel

I'm creating a chat and for this I need to do a real-time mode so I do not have to be pinging several times on the server SignalR that does this service, I'm working with Laravel-PHP and read the documentation Broadcasting , but I...
asked by 17.07.2018 / 19:43
2
answers

How to create a Grouped List in Laravel 4 from an entity with self-relationship

I'm trying to create a select box com \Form::select() (grouped list) in Laravel 4 and I have the following entity: Items id = id do item nome = nome do item pai = fk dessa mesma entidade I have already created the model with hasMa...
asked by 12.12.2013 / 12:06
1
answer

List of project directories in Laravel is displayed instead of running the application [duplicate]

I would like your help to know why my PHP project with the Laravel Framework does not work, I have done all the steps correctly, but instead of seeing the framework, I am seeing your folders     
asked by 11.10.2015 / 04:39
3
answers

How to customize password recovery email (Laravel 5.4)

How can I customize the password recovery email for Laravel 5.4, I need to change the language but can not find the place to edit.     
asked by 02.03.2017 / 12:10
2
answers

How to Filter Multiple Fields in Query?

I need to filter a query in Laravel. How can I do this in the best way? For example, I have a query on my page and I want to do some filtering on it. For this I have a column that has some filter options. How would I do this in the code? I...
asked by 21.05.2016 / 17:28
1
answer

How can I differentiate authentications in laravel? Example: Administrator and Common User without using multauth

How can I differentiate routes to the same auth? I have a User table and I have registered two types of user: admin and common user, both in the User table, with the same attributes. How can I differentiate the routes that will appear for bot...
asked by 07.12.2016 / 18:42
1
answer

How to put an HTML code in a label in Laravel?

When I try to do this: {{ Form::label("nomecampo", "Descrição<em>*</em>", array("class" => "entrada")) }} The tag enters the tag but is not interpreted correctly. See: <label class="entrada" for="nomecampo">Descrição&...
asked by 27.01.2014 / 16:20
1
answer

Access Permissions in Laravel 4

I'm developing a system in Laravel 4 based on Laravel's official tutorials and documentation. I have not seen anything related to (ACL) access permissions in Laravel. Knowing that my system will have several resources available, such as: New...
asked by 07.02.2014 / 13:46