Support the ongoing development of Laravel.io →

Laravel Database 'whereNotIn' error

Hi guys, I'm trying to run the following queries and running into this error: preg_replace(): Parame...

0 Likes
1 Replies

Polymorphic relationships and factory method

Hello, ##Tables structure ###Users id - AI password - string email - string userable_id - integer us...

0 Likes
6 Replies
posted 10 years ago

Class repository does not exist

Hey guys, Im trying to implement repositories in my application structure. I cannot seem to pinpoint...

0 Likes
7 Replies
Solved

Fatal error: Class 'Whoops\TestCase' not found in laravel Phpstorm

i m facing this error in PhpStorm while debug project Fatal error: Class 'Whoops\TestCase' not found...

0 Likes
0 Replies

Class 'App\Site\SiteServiceProvider' not found

Hi, So I added an service provider to my providers array (see the code below). I have a folder calle...

0 Likes
3 Replies
posted 10 years ago

[package] Attributes

Attributes Cartalyst's Attributes package allows you to attach attributes to objects, it utilizes th...

0 Likes
0 Replies

Parent Constructor vs Setters

Im trying to work out the best method of injecting dependencies via my constructor and storing them...

0 Likes
0 Replies
posted 10 years ago

Need to mail dynamically created PDF

Hey, Currently, I have implemented @barryvdh's Laravel DOMPDF wrapper so that I can create PDFs from...

0 Likes
3 Replies
Solved

.env.staging.php won't load

I've been trying to figure this out for hours.. Laravel simply won't load .env.staging.php although...

0 Likes
9 Replies
Solved

Calling setHidden from outside model does not limit attributes?

I'm trying to limit the number of attributes that all() returns, but failing to do so by using setHi...

0 Likes
3 Replies
Solved

Worker Server sending mail using iron.io in laravel

Please help me out in implementing a worker server, where I need to push queue,delete queue,list of...

0 Likes
0 Replies

CSRF protection for GET?

Laravel automatically adds CSRF protection for all POST requests, but what's the best way to add CSR...

0 Likes
1 Replies

Eloquent delete from table when the last connection is detached from pivot

Hi! I have images and products table and the pivot table is image_product. What is the best way to a...

0 Likes
0 Replies

join without select() does not load child objects

If you're using a join in your query along with a "with" function to hydrate a child field...

0 Likes
0 Replies

Does Laravel only support ORM and not plain/raw sql?

Hi guys, can someone please tell me if Laravel supports raw/plain sql? I cant find it explicitly sta...

0 Likes
2 Replies
Solved

Editing in laravel

Hi I'm busy with a tutorial and when I try to use the edit line in the model, I end up having a blan...

0 Likes
4 Replies
Solved
posted 10 years ago

Service Provider not found after deployment ???????????

I can run this on my local machine. I got the error like this when first deploy on the server. I pul...

0 Likes
3 Replies

Stuck on Hello World under XAMPP

Hi I am new to laravel and working through a basic tutorial. I installed laravel C:\xampp\htdocs\new...

0 Likes
4 Replies
posted 10 years ago

recursive category system

I am trying to write a global fn for my cat system that is in the base controller. here is the fn in...

0 Likes
0 Replies

Does anyone use the function viaRemember()

I've searched but seem not to have a fix. Again want to put this issue to solve

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.