L5 - custom error

Hello i have a form request with roles for my form. The problem is, that i use tabs in my frontend and now i want a custom error for each tab if th...
03

URLs at the end of sentence do not work

If you have an URL at the end of a sentence it does not work because the period is seen as a part of the URL. The URL...
04

Form vs API ?

I just finished watching through how to build API using laravel. Using API seems really helpful to give feedback to users without refreshing...
07

I can't fully wrap my head around Commands.

Let me give you a use case. A user has a profile, something similar to Facebook. When they update their profile, numerous things need to happen:...
05

Changing Middleeware auth routes

How to change the middle ware auth route domainname.com/auth/login domainname.com/auth/register to domainname.com/auth/signin domainname.com...
01

[L4] Mail later

Hi all, I'm looking for a way to send an email 24 hours later after registration. So i sign the customer up then I use carbon to add 24 hour...
04

Help about encoding

Hello guys. I need some help about cyrillic encoding. I am not professional and I can't figure out the situation described bellow: from this...
03

L5 - Change route Controller depend on user Auth

Hi I have big problem. I would like change one of my route Controller if user is logged. What for? I have main page(one page without...
04

Need inputs to create a RestAPI in laravel

Greetings Everyone, I an very much new to Laravel. I have installed laravel 5. My immediate requirement is to write few RESTApi's for my new...
01

Add additional data to Rest response

Hi everyone, While L5 was still in development I used the middlewares to add additional data after each rest response like this:...
08

Redirect and curl problem

Hey, I have build a url shortener with laravel 5. I use the redirect() helper function to redirect to the destination page. Now here is my p...
07

Get all children of parent category with grandchildren

I need to get all the subcategories of a category along with their subcategories in unlimited depth....
02

L5 $this->layout->body = View::make('home') not working

I am having problems when migrating my website from L4 to L5, which i cannot set a body layout for a page. In my HomeController which extend...
04

Redirect to the intended url after social login

If a user is in for example www.example.com/post/1234/sample-title and then they login using facebook to comment on the post and how do we redirect...
02

Model::find()

Seems Like if I have to use the find() method of the model, I MUST have 'id' column as primary key in my table. But I would rather prefer na...
06

[L5] NotFoundHttpException on Laravel 5, Codeception package

Hello there. I trying to play a little with codeception in laravel 5 and i get a NotFoundHttpException What i did wrong? instal...
27

More advanced eloquent builder usage

So I have this public function commentcount() { return $this->hasMany('App\Forum\Post')->count(); }...
01

Decrypt Hashed Password

I know this is a no-no in 99% of situations. But I can't think of another way. Here's what I'm doing. An admin can add "team members&qu...
08

NULL inline if statements

I'm trying to figure out how I can have it see if the value of $title->contender1->name has a NULL value or not and if it is NULL then have i...
01

L5 how to extends BaseModel

I am having problems when i want to exends my User model to a BaseModel this is the original user model class User extends...
01