passing $user_profile to the view

Hello, I am trying to understand this codes if anyone can help me. Can you pass $user_profile to the view from the controller just by using...
03

Problem with path when configuring shared server

Hello everyone, I am trying to configure my 5.2. laravel project. I have a subdomain defined as test.domain.com, this subdomain points to public_ht...
01

Storing session value to database

I stored value in session, but i want to store in database. I dont know how session is stored in database automatically...
01

Laravel passport api guard not working

hi my api guard is not working i have recently updated my app from 5.0 to 5.3 to accommodate laravel passport i am using the below c...
03

auth:api problem in Ajax

Hi! I'm using the artisan make:auth. The session authentication works fine, but the ajax api requests gives me 401 Unauthorized (using Vue)....
11

Viewport doesn't work on Mobile

On my local machine my app's viewport working fine, but in production server which is Red hat it doesn't work totally in all page. &...
02

Array validation rules not working

Hi all, I have the following array: $clients=array(); $clients[1]['clientID']='327159'; $clients[1]['email']='ema...
05

How to add Read More link after posts body.

Hello everyone , Well i got a small blog app that i am working on, and i would like to make a Read More Link after the body is fetched from...
02

Setting online page works offline

Hello all, I am having two websites online that I am trying to make it works offline. The programmer uses laravel to program it and using s...
01

Heroku error

I have this error on heroku Cannot serve directory /app/: No matching DirectoryIndex although i have Procfile , hav...
00

Not able to save relations records to pivot table.

I have a model of Blog, which looks like this. <?php namespace App; use Illuminate\Database\Eloquent\Model; class Blog extends...
04

What's the best way to validate a form text field against certain (or all) tags?

Working on a forum where in most cases I'd like to prevent a user from entering HTML or script tags. However I might want to let them enter some l...
01

Laravel app as a REST API Client

What is the best way to scaffold a Laravel project that only consumes the REST API ? I may be using controller and model for user management and s...
02

Laravel 5.3 - RegisterController and SQLSTATE[HY000]: General error: 1364

I have watched various Laracasts and YouTube videos on how to edit the Registration process to add a username to a user model. I am getting the err...
01

Summing a column on a has many relationship?

I have two models as follows: Movie Model is connected to the 'movies' table in the database which is filled with movies and movie data:...
01

panelLabel: "Subscribe For", does not change text?

Added this, but after webpack build, it is still showing as Pay, just like before? Unless I do a migrate:rollback , make the change, and the...
00

Customizing fields for export using Laravel Excel

Hi guys, This is the package I am currently using for my application....
00

Help with events & listeners. I'm confused!!

Hello, I need some on advice on how to do this. It's my first time writing an event and event listener in Laravel. My app currently h...
01

How to change prices in php artisan tinker?

In video, Jeff changed first price using $p = All\Product::first(); $p->price = 8000 $p->save(); But how to chang...
03

Sudden npm error

Hello all, my site is running laravel 5.4 on homestead and I have been able to configure and run npm run dev and npm run...
04