Support the ongoing development of Laravel.io →

Why do I have to loop through the results of this query?

Hello, I am querying an external-to-my-application database. I expect to get one result back, but w...

0 Likes
3 Replies
posted 10 years ago

Help with a query

I have a query of hotels from a country and from a state. I want to display 4 random hotels from eac...

0 Likes
3 Replies

how to return value from controller to view?

Hello, how to return value from controller to view? controller code $oSales =DB::table('sales') -...

0 Likes
7 Replies

using package only on local environment in Laravel 5

Hi, In Laravel 4.2, I was able to load a package only for my local development in config/local/app.p...

0 Likes
6 Replies
posted 10 years ago

still have class not found error after composer dump-autoload

I have laravel 4.2 on localhost (open-server.ru) Today I deleted old tables from database and tried...

0 Likes
0 Replies

Change database information L4

Hello everybody. First, Sorry for my english. I'm using Laravel 4 and i want to change information d...

0 Likes
0 Replies

Best way to hide something from view

Hey, I'm including a sidebar in some views and want to hide some parts if it's called by an special...

0 Likes
4 Replies

Auto-create database? Pros and cons

I just started working with Laravel recently but ended up forking the framework repository since I w...

0 Likes
0 Replies
posted 10 years ago

New to Unit Testing, is this overkill?

Hello, I'm working on writing an API in Laravel 5 for a project of mine. I'm also new to Unit Testin...

0 Likes
2 Replies
posted 10 years ago

Master and Child Page problem [Please help]

I am a beginner at Laravel framework[4.2]. I was just trying to create MASTER PAGE AND CHILD PAGE us...

0 Likes
2 Replies

Update() not working in MongoDB, not commiting any changes.

hi there i have a problem, so i will have to update a post and when i update it it should commit to...

0 Likes
0 Replies

New OS Project - Best Practice

i'm starting a new OS project (not just a package) based on L5 Just not sure what should be provided...

0 Likes
0 Replies

Very bad keyword "testing" in environment configuration

Laravel naming convention is usually quite good/OK, but this "testing" keyword as unit tes...

0 Likes
0 Replies

Trying to get property of non-object

Hii I got this error when I view a user's profile Trying to get property of non-object Route: Route:...

0 Likes
6 Replies
posted 10 years ago

laravel.log not written anymore on Homestead?

Hi, I've started a test project on Laravel 4.2 At first I was using WAMP, but I recently changed for...

0 Likes
0 Replies

Fluent: Attribute Accessors?

Hi, till now I have used eloquent but needed to switch to fluent for a special case. Now I have a st...

0 Likes
0 Replies

View is not working with .blade.php extension

In my project, when i remove .blade extension from view file, it works. But with this extension ther...

0 Likes
2 Replies

Form and HTML helpers

Forms and HTML helpers should absolutely be included in a default Laravel install. While its absence...

0 Likes
2 Replies

L5 running apps

Just wondering if we have any running apps (like a blog or anything) that is already on L5 and on gi...

0 Likes
3 Replies
posted 10 years ago

Get users with first image of user if this have images

Hi every one, i need opinions about how to create this sql query for a best performance with query b...

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.