Image instead of button

Hi! I want put image instead regular Bootstrap button. {{ Form::button('<img src="../..(../../public/storage/admin/delete.pn...
29

Cannot get login user data

Hi, I am try to get login user data. But I got "Trying to get property of non-object" error.. This my controller p...
27

Getting User Facade within View Composer

I've created the standard View Composer class and registered it: namespace App\Providers; use Illuminate...
22

Is there a way to validate blade syntax

Basically as the title says. If I have a string containing what I believe to be blade syntax, is there a way to run it though something to see if...
20

Call to undefined method

hello guys i got this error when i have tired to send password reset link BadMethodCallException Call to undefined method Illu...
19

How to set up a belongsTo relationship properly?

I have 2 tables "users" and "employees". I have set up a relationship for users and employees but can't figure out how to do it...
19

Remove index.php in Laravel 5

I begin enter my site in adress: localhost/laravel -> after click contact menu and my url is: localhost/laravel/contact -> It is a url normal...
17

I want to build a loan feature in laravel project. How do i keep track on updated input

Let's say a user collected $2,000 loan. At the end of the month, the user pays $200 in first month and another $200 the second month. Now, i have h...
16

laravel is trying to update _method field

Hello everyone, One my project I am trying to update some data but getting this error SQLSTATE[42S22]: Column not found:...
15

Object of class Illuminate\Routing\Redirector could not be converted to string

this is working fine when i pass $total to $data['total']; $total = 0; foreach($data['items'] as $item) { $total...
15

Undefined property: Illuminate\Database\Eloquent\Builder::$schools

This strange thing is happening to me.I have the code below : public function index() { if (auth()->user()->hasRole('exper...
15

Change database dynamically

Hello everybody, in first place, sorry for my english, is not my native languaje. The proyect were I'm working have a singularity, when a cl...
14

Checkbox doesn't work in lc_chat...

Hello everyone, I got this error SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'value' cannot be null (SQL: updateconfigsetval...
14

Validation on update: unique

In my create user validation rule I add: 'email' => 'required|email|unique:users', and this work fine. However, during upda...
13

How to validate only letters in Laravel

I need validate My store function provincename field with only letters, my Controller is, $this->validate($request, [...
13

barryvdh/laravel-debugbar does not appear in laravel5.6

I install barryvdh/laravel-debugbar as per instruction. but not shown anywhere in my application. I check .env and app.php. How to fix this issue...
12

View Composer data not available when assigned to layout

I was taking the advice of @Snapey and @Cronix to assign my View Composer to my master layout, instea...
12

how to display multiple images from database to blade view.

i have images saved to the database table, now i try using the the explode funtion to fetch the images to the view for the view i have this...
12

How to remove items from collection array?

I have this collection where some values are empty and I would like to remove those items from my collection array. So for example if "Full na...
11

In regards to laravel ffmpeg

I am about to put my laravel application on the web with laravel ffmpeg. Is ffmpeg still going to work? Do I have to do anything?...
11