Support the ongoing development of Laravel.io →
posted 10 years ago

Getting list of threads with latest message in Laravel

I need some help getting a list of threads with the latest message from my database using eloquent....

0 Likes
1 Replies
posted 10 years ago

Eloquent: sort by pivot table?

I have 'products', 'categories' and 'category_product'. How can I return a list of products, sorted...

0 Likes
1 Replies
posted 10 years ago

Output PNG via Browser

Hey everyone, I'm trying to output a png image via Laravel (I'm doing something for every page view...

0 Likes
3 Replies
Solved
posted 10 years ago

Wrong query generation

Hello, I have the following code: abstract class I18NEntity extends \Entity { protected $appends =...

0 Likes
0 Replies

Help with HasOneThrough method (i think?)

Fairly new to Laravel having been away from PHP, and coding in general, for about 6 years. I've got...

0 Likes
0 Replies

User acces on input level

Hi all, I’m currently using “Partials” to create an create/edit form. I want to apply different ri...

0 Likes
2 Replies

Laravel Forge - Does it redeploy files in "app/storage"

Greetings. I am going to update my current website which is hosted using Laravel Forge, and I am unc...

0 Likes
0 Replies
posted 10 years ago

How to avoid method collision in Restful

I use Restful to create CRUD in laravel. And i add another route : Route::resource('article', 'A...

0 Likes
2 Replies
Solved

laravel 5.1 retuns garbled charachers from mysql

I am new to laravel framework. I am using Homestead as my development environment and everything wor...

0 Likes
2 Replies

Ioncube encryption

Hi All, I work on Laravel framework from the short time, After finishing the website, I willing to e...

0 Likes
1 Replies

Multiple data bases or best practice

Hello, im having a logic problem, sorry if this is not the place to put this. Im working on an app f...

0 Likes
4 Replies

Clean Installation laravel 5

Hi, I am a fresh starter in laravel. On my fresh installation of laravel 5 i am getting this....any...

0 Likes
5 Replies

Lifecycle: After App Service Provider, Before Rest?

Hello, where can I place code (Laravel 5.1) that has to be executed after the App\Providers\AppServi...

0 Likes
1 Replies
Solved
posted 10 years ago

Adding an author and Editor to my model (hasOne) results in error

I tried adding an author and editor in my company model, I would like to be able to not only know th...

0 Likes
1 Replies

Undefined variable in view

Hi I have been trying to solve this for two days now, I do not have any hair left. My routes file: &...

0 Likes
2 Replies
Solved

How to recieve json array in view with Ajax that has been sent from controller

Hello! I have a model that look like this: public function GetUserByname($input){ $this-&...

0 Likes
0 Replies
posted 10 years ago

use vendor package in lumen

I have installed a package using composer. I need to use it like use aaa\bbb\ccc as xxx; in laravel...

0 Likes
0 Replies

can't change users table name to members

So I changed the users table to members in a laravel 5 application. I also changed the config/Auth f...

0 Likes
5 Replies

HOW TO PLAN FOR A AUCTION SITE IN LARAVEL

Hello friends, I have to develop a auction site and i want to develop it in LARAVEL. Haven't build t...

0 Likes
3 Replies

Optional route in middle of URL not being recognized

I have the following route: Route::get('/user/{name}/{key?}/post/{id}', array('as' => 'index'...

0 Likes
0 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.