Laravel 5.1 is not redirecting to a route in constructer

Hi i am trying to redirecting to a route in a constructor but it is not redirecting to the route.I have created a custom controller name UserContro...
08

Update two tables at one POST method.

Hi, I have this code right there, this code is working fine and data is successfully stored to table "reports". But I also want to update...
01

Notification package

Hi to all, Can anyone recommend me notification package for laravel. I don't need real-time messaging system, but only notification between users o...
04

How to restrict routing particular IP address?

How to restrict some routing only office permices. i want restrict this routing only have to work insight office out of office no one can't access...
19

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'page_id' cannot be null

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'page_id' cannot be null i am using laravel 5.2 I wor...
17

how to create 2-step auth with 2 login sections?

Hi folks, In my project people want to login with 2 set of credentials. first for the company login and next for the employee login. user have to...
01

Validating Related Model Inputs that are using form model binding

Hi there, New to Laracasts. Love it and building my first app now :) Wonder if somebody can help. I am using form model bindin...
03

How to get attribute from Eloquent-Collection result

Hi thank you so mush for your attention and time, so this is my problem : after a make a relation ship between users table (created by laravel ) a...
10

What does putting "render()" at the end of view do?

I often see this: return view('home')->render() Why not just write return view('home')...
02

How to fetch single row from a table and display data

Hi awesome people I have a database table with many rows i just want to fetch single row and display in the view it's like i want to displa...
12

how to create custom id on table?

When I create A custom id on table laravel don't work on $model->save() method Please how can I do this?or how can I live the defau...
11

Loading controller, models from app/themes/{themes} DIR

How to load Controllers & Models from another directories. Am building a simple CMS. I have created themes in the folder app/themes/{theme_nam...
00

Help. Trying to get property of non-object error.

Hi, I'm kinda new at laravel and need your help. I have this IR model : class IR extends Model { // protected $fillab...
12

Laravel 4.2 Registering the multiple route files

How can i register my custom route files in Laravel 4.2 ? Laravel 5.* helps us to bind the route files in RouteServiceProvider Class but I cant fin...
00

Fetch posts of logged in user and people he is following orderby date

Hello everyone, In short , I am trying to show the posts of user and his followers ordering by latest date. Exactly like Facebook feed. I ha...
06

Session issue for Unit testing

I have created test case and that have two issues. I would be appreciated if someone can help to solved this issue thanks. session is not pe...
05

mysql query keyword in text break the flow

I have form in edit modal window . Form method is PUT and action is update. Try to save Promo text - " .....xxmbs(in select areas) Free Inter...
00

Laravel 5.2 extend auth::user() with information from other database table Many to Many relation ships

Laravel 5 extend auth::user() with information from other database table Many to Many relation ships Hi thank you for your time, i add a t...
01

Error: Cannot find module 'laravel-elixir'

I am trying to run gulp on Windows 8.1 Laravel homestead. I want to run the gulp command so it will compile the css and javascript in a file. I am...
04

Can't access to $this->app from controller

I've registered in the AppServiceProvider a singleton DI, when I trying to get a instance of my register class by accessing the $this->app->...
04