Questions tagged as 'laravel'

2
answers

search function in Laravel returns TokenMismatchException error in VerifyCsrfToken.php

Good night friends, I am new to laravel and I need to build a function to search for data from a table, I did something based on what I understood so far, but it is returning me the following error message ** TokenMismatchException in VerifyCsrf...
asked by 15.07.2016 / 05:18
1
answer

Mount array with user permissions

I need to mount an array in PHP (LARAVEL) and I can not find a way to do it. I have a user system with roles and permissions. When I view the user, I clear all the permissions, but one below the other. Ex: > users-index > user...
asked by 20.05.2016 / 03:47
3
answers

Composer does not install packages

Recently I installed ubuntu on my machine and I'm preparing the environment to work with Laravel. Everything is working except that I can not create the Laravel project, when I execute command composer create-project laravel/laravel projeto...
asked by 03.03.2016 / 19:45
1
answer

How to use the "sync" of Laravel 5.1?

Recently I discovered a feature of eloquent called sync , vi that it sort of compares the data passed with the data that is in the database and deletes or inserts what has different. I wanted to implement this in my application, but...
asked by 25.01.2016 / 14:24
1
answer

Providers with support for Laravel 5 [closed]

I would like to hear from you, about a hosting provider that has Laravel 5 framework support. It's a small system, so the cheaper the plans the better. Thank you all!     
asked by 07.01.2016 / 17:57
1
answer

Define name for a Foreign Key created from a Migration in Laravel

I am building an application using Laravel 5.1 and in my ER Diagram it is very deep and detailed (even with the nomenclature of indexes). I need to know how I can do to create a Foreign Key using the laravel migration methods in which I can defi...
asked by 29.12.2015 / 16:49
2
answers

Error: No supported encrypter found. The cipher and / or key length are invalid

I am using laravel 5.2 and I have been authenticating myself, but when I run the command php artisan make:auth it works perfect, but in practice it does not ... When I click login or register it gives me this error:    No supported enc...
asked by 24.02.2016 / 13:50
2
answers

Is there any declaration declaration tag in Laravel Blade (instead of just printing)?

I was wondering if there is any way to create expressions with Blade tags from Laravel . I mean, in the same way that we use {{ $valor }} to be able to print something, would it be possible to use blade syntax to declare something i...
asked by 26.02.2016 / 12:14
3
answers

URL Problem with Bar /

In Laravel it is very common to use friendly URLs and also very easy to use. The system is ready for this. However, I have a problem that I did not care about until now. And now I want to know why. I have a simple route for all my pages:...
asked by 11.11.2015 / 19:21
1
answer

Fill in textfield with the description corresponding to the selected value in a combobox

I have in my view a select that receives the data of the functions and the lists. <select id="id_mfuncao" name="id_mfuncao" class="form-control"> <option value=""><< selecione >></option> @foreach($mfuncoe...
asked by 15.01.2016 / 13:47