Questions tagged as 'laravel'

1
answer

Chat with notice notification in laravel

I'm developing a chat with Laravel , and I followed this tutorial . The chat is working fine, but I wanted to know how to make a notification like this: When a message is sent to a user and the user has not yet read it. Can anyone...
asked by 05.09.2018 / 18:41
1
answer

Image Upload with ImageMagick

Using the Imagick library, can you upload an image directly from the upload form? That is, without having to first move it to a folder and specify the path in Imagick . I'm trying this way, but I get the error Can not process...
asked by 04.09.2018 / 20:13
2
answers

Modal to edit Angularjs and Laravel

I'm trying to make a Modal to edit my data, using AngularJS and laravel as backend, but when I call a function in my ng-submit (), it is not invoked. This is my modal <div class="modal fade" id="mymodal" tabindex="-1" role="dialog" a...
asked by 01.06.2018 / 03:49
1
answer

How to include files in a View based on the Route in Laravel?

I created a view inicio.blade.php where I put all the code that repeats on all pages and created other views that extend this view. I've created routes for views by setting a name for them like this: Route::get('/', 'PainelController...
asked by 16.04.2018 / 20:25
1
answer

Error Undefined property

I'm getting the following error when clicking on permissions, button that directs to this controller: Error:    Undefined property: App \ Http \ Controllers \ RolesController :: $ role Controller: <?php namespace App\Http\Con...
asked by 26.04.2018 / 21:33
1
answer

How to add password change notification in Laravel?

For security reasons, in one of the applications that I'm building, whenever the user's password is changed it must be notified. To meet this goal I overwritten the method resetPassword of class ResetsPasswords in my ResetPasswo...
asked by 04.04.2018 / 16:12
1
answer

Views and session variables available in sub domains

I'm creating a laravel web system where multiple sub domains will be created to find some services for users. Ex. Panel.domain.com, store.domain.com, etc. My question is: My variables created in the main domain session will be accessibl...
asked by 06.04.2018 / 04:51
1
answer

Form select with Laravel

I have this code working, but I would like to know if I would have a more elegant way of writing the following code in the view, through Laravel's forms: <div class="row"> <div class="col-xs-12 form-group"> <label fo...
asked by 07.05.2018 / 04:06
1
answer

How to use Bootstrap 'shortcuts' in VSCode in .blade files?

There is an extension called Bootstrap 3 Snippets, however, it only runs snippets in HTML files. How do I get this to work on files from other extensions?     
asked by 28.03.2018 / 18:03
1
answer

Error url $ feed-id

Hello, I'm working on a system with feed scheme. Clicking "Edit" displays the following error:    SQLSTATE [22P02]: Invalid text representation: 7 ERROR: invalid input   syntax for integer: "$ feed- > id" (SQL: select * from "feeds" where...
asked by 19.04.2018 / 20:27