Support the ongoing development of Laravel.io →

What is the easiest way to add the count of records that matched the whereIn to this model chain?

I have this eloquant model chain which works fine but I would like to add the count of matched recor...

0 Likes
0 Replies
posted 10 years ago

Homestead - unable to create and connect to new DB

Hi, I've just started using homestead and want to have multiple sites on the same VM. However, Homes...

0 Likes
1 Replies
posted 10 years ago

Get name of registered service, not the actual class

I have a service provider setup like this: $app->bind( 'MyApp\Repositories\Thing\Thin...

0 Likes
0 Replies
posted 10 years ago

How to pass a controller method argument through a form route.

So I have a controller method which requires an argument to be passed through. public function stor...

0 Likes
3 Replies

Using $this when not in object context | Repository & Command Bus

I am using Laravel Commander to use the command bus to handle everything in an app I am building. I...

0 Likes
1 Replies
Solved
posted 10 years ago

I have a problem about "Call to a member function createData() on a non-object"

This is my all code I don't know why my Controller didn't know the constructor http://help.laravel.i...

0 Likes
5 Replies
Solved
posted 10 years ago

Differences in Caching Methods?

Hi, just wondering which Caching Method to choose from - which is the fastest?

0 Likes
1 Replies

How to debug a package?

I'm trying to customize a package (chumper's datatable bindings) and therefore would like to be able...

0 Likes
2 Replies
Solved

sorting multiple tables by time

hello to every one, I am trying to sort multiple tables like this; //Controller http://laravel.io/bi...

0 Likes
4 Replies
Solved

Eloquent Query's not working with a certain table

Hello, I am porting my current website over to laravel and I'm having some issues. I'm trying to lis...

0 Likes
5 Replies
Solved

Ajax post controller redirection problem

I post from ajax to a Controller and I do some authentication there. If the authentication fails I s...

0 Likes
2 Replies
Solved

PSR-4 Autoloading and Views

Hey there, If I have used psr-4 autoloading e.g. "psr-4": { "Admin\": "app/...

0 Likes
2 Replies
Solved

force login except

hello all am new to laravel and now am trying to build a web app with it, the problem i have that i...

0 Likes
2 Replies
Solved

Route GET length limit of 255 per param?

I ran into an issue that I was not able to track down. I am accepting base64 strings as a route para...

0 Likes
2 Replies
posted 10 years ago

How to change object key when get data?

Assume i am going to fetch country list. $country = Country::get(); foreach($country as value){ ec...

0 Likes
0 Replies
posted 10 years ago

Setting up relationships ?

I've been going through the documentation and reading up on relationships, and I'm having trouble oh...

0 Likes
2 Replies

Multiple tables over multiple databases in a single Model

I am in the planning stage of undertaking a database migration where the two databases (one MySQL, o...

0 Likes
4 Replies
Solved
posted 10 years ago

Homestead Folder Structure for PHPStorm?

I'm wondering about the recommended folder structure for Homestead when using PHPStorm. My initial c...

0 Likes
0 Replies
posted 10 years ago

Missing where method on join with where clause

I require a join with a where clause such as: SELECT * FROM users LEFT JOIN contacts ON contact...

0 Likes
1 Replies
posted 10 years ago

Homestead not working : Timed-out error

I installed vagrant & VirtualBox installed to run homestead. But when I give the vagrant up comm...

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