Support the ongoing development of Laravel.io →

Display threads with order by post (like higher ID)

I'm building forum. But I need help about building the forum display page. <?php $teemad = DB::ta...

0 Likes
1 Replies
posted 10 years ago

How to set array key from column value

Hi! Is there a nice way to set array key by column value? Now I am doing it this way: $myArray = My...

0 Likes
2 Replies

Upload Project in Cpanel

Hello I have created a project with Laravel 4. Now I wan to upload this project in Cpanel. There are...

0 Likes
3 Replies

DB + variables naming conventions

Hi everyone I've been searching this for a while, but couldn't find the specific subject So here is...

0 Likes
2 Replies
Solved

Laravel - filter by multiple relation values while keeping eloquent pagination

I have two models, Character and Tag, that are in many-to-many relationship. I'd like to be able to...

0 Likes
5 Replies
Solved

Laravel 5 Errors

I have made 404.blade.php and put this in my views/errors folder next to the installed 503.blade.php...

0 Likes
2 Replies
posted 10 years ago

Sorting by count of relationships

I have a system with users have countries. I have a view where I want to show a list of countries an...

0 Likes
3 Replies

RESTful controller's create-method and belongsTo relationship

What I'm looking for here, is an elegant way of creating a new Contact. As the image says, a Contac...

0 Likes
1 Replies
Solved

Putting Eloquent model into folders

Using Laravel 5, how do you put models into folders? Currently mine are sitting underneath the defau...

0 Likes
3 Replies
Solved

Can't find my folder in Homestead

I installed Homestead a while ago and have been trying to fix it myself but it's beyond my scope. W...

0 Likes
2 Replies
posted 10 years ago

Redirect without changing address bar

Hi, Is there any way to "redirect" user to another page without changing the address bar?...

0 Likes
6 Replies
Solved
posted 10 years ago

Validating a dynamic array of form elements + user-defined messages

Hi, I've been at this for a day, and I must be starting to confuse myself. My issue is that I genera...

0 Likes
1 Replies

[Solved]Form: Updating multiple rows for each id?

I am creating an area where users can update the navigation menu which I am storing in the database....

0 Likes
0 Replies

Homestead shared folders are not synchronized

The folder I'm sharing between Windows 7 and homestead's Unbuntu doesn't synchronize. If I add a fil...

0 Likes
8 Replies
Solved

make a page inaccessible after "post"

So I've got a login system with the possibility for the user to change their email and to change the...

0 Likes
0 Replies
posted 10 years ago

Trouble getting homestead

I have been trying to get homestead with no success. I followed the instructions as per http://larav...

0 Likes
3 Replies
Solved
posted 10 years ago

[L5] register Middleware

App::middleware('My\Middleware'); this doesn't work anymore.

0 Likes
1 Replies

Update without touching timestamps?

I've created a type of forum which is sorted by "updated_at", but right now every page vie...

0 Likes
7 Replies

No More environment.php File in L5?

As of commit 430134864642346498631ad562765d69599d6b39, environment.php has been removed. Is this a...

0 Likes
5 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.