Questions tagged as 'laravel'

1
answer

Group By Days Laravel Eloquent

I am not able to group data for different days. I have some communications registered and with the default Created_at and Updated_at I would like to show these separate releases day by day .. VIEW @foreach($messages as $message) <...
asked by 21.03.2018 / 22:25
0
answers

How to install the vue-easytable library in Laravel

I'm trying to install this library vue-easytable It is very interesting: it has pagination, vertical and horizontal adaptation and many other things. She is very quick to render. I want to install as a template in Laravel. I installed the l...
asked by 20.03.2018 / 22:36
1
answer

Warning when calling the orderBy method statically

In the PHPStorm interface a warning message appears stating that I'm calling the orderBy method statically, but it is not static. My call: Artigo::orderBy('edicao', 'desc')->paginate(25); Would this be "wrong"? Or would have to do: (ne...
asked by 21.03.2018 / 02:03
0
answers

Fill empty columns in laravel

I created a hasMany table sorted by Produto :    withthefollowingcodeView:<tableclass="table table-bordered"> <thead> <tr> <td colspan="17"> <p class="text-cente...
asked by 09.03.2018 / 12:40
0
answers

gulp does not recognize {{assets ()}} from blade

Hello, I'm implementing gulp in a laravel project. I have the following task: gulp.task('usemin', function(){ return gulp.src('version-client/app/views/**/*.php') .pipe(usemin({ js: [uglify], css: [autoprefixer, cssmin]...
asked by 09.03.2018 / 12:58
1
answer

Laravel Defender Trying to get property 'name' of non-object

You are returning the following error from my assignment:    $user->attachRole(12); Note : If I use this way, I have parameterized the normal functional defender model $user->roles()->attach(12); What can it be? If...
asked by 08.03.2018 / 19:46
0
answers

Iframe shows system in localhost - PHP

Good morning I will try to explain my situation and see if there is a solution. I have a server running a web application in java that I want to work only on localhost. Also, on this server, I have a PHP system that is released for inte...
asked by 08.03.2018 / 15:50
1
answer

REST API route pattern

I am creating an application similar to Twitter using Laravel and React, where the database has the tables: Post, User, Relation, Mention and Repost. In the 'timeline' screen of the application will be displayed information of all the tables of...
asked by 09.03.2018 / 14:31
0
answers

Function that stores session does not work when requested via post. Laravel 5.4

I'm having a problem inserting a session using Laravel 5.4.36. Next: when I insert the session via get (getUserSession function) it works perfectly. When I insert the session via post (vulgo putUserSession) it simply does not insert the data. Th...
asked by 05.03.2018 / 20:27
0
answers

Collapsibles do not work

I am using a framework called SBAdmin , which is nothing more than Bootstrap 4. However, when creating the same% w / o as the FW provides as an example, it does not work in certain cases. The error is in the url: When a URL like...
asked by 08.03.2018 / 02:46