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

polymorphic relationships and laravel - two messaging systems

I am building a specific kind of messaging system. A user can message a user. A user can message a c...

0 Likes
6 Replies
Solved

Globally include User model L5

Yo! I would like to use User::find to every page of my Laravel site, views and controllers. In Larav...

0 Likes
0 Replies

Eloquent query to get posts in the past 24 hours with the most messages

So, I have a situation where users can add posts to a forum and then comment on those posts. What I...

0 Likes
1 Replies

Image file name not saving in database L4.2

I try to update user image but when i try to update it save image name in database like C:\wamp\tmp\...

0 Likes
0 Replies
posted 10 years ago

General error: 1215 Cannot add foreign key constraint

Hello, I have this migration file <?php use Illuminate\Database\Migrations\Migration; class Cr...

0 Likes
2 Replies
posted 10 years ago

table join where clause

I'm going through the laravel documentation and practicing table joins and I am trying to join 2 tab...

0 Likes
1 Replies

How do I use Eloquent to "morph to one" or "has one through"

Basically, I'm trying to use the following table structure in Eloquent. I have a polymorphic table t...

0 Likes
0 Replies
posted 10 years ago

DB::Statement binding params for multiple inserts

Hey all, I have the following : - https://gist.github.com/rsmarshall/24b52155d162d6c781cf At the end...

0 Likes
1 Replies
posted 10 years ago

Slow booting time (nearly 1s)

I've developing a website using Laravel 4.1, and I'm seeing very slow loading times on every page....

0 Likes
1 Replies

How to increase the id in a database?

Hello, i would like to know how can i increase the starting id in a database of users.

0 Likes
4 Replies
posted 10 years ago

decorator pattern, service provider, controller

Hi, I have service provier: class TwitterServiceProvider extends ServiceProvider { public functi...

0 Likes
0 Replies
posted 10 years ago

Eloquent ORM

Hi this is yokes, i have an issue with the categories which i used Franzose, plugin, the issue with...

0 Likes
0 Replies
posted 10 years ago

Laravel ignoring .env file but artisan works fine

I've set up a basic website and am trying to configure the environment to go to production rather th...

0 Likes
0 Replies
posted 10 years ago

What is Laravel

Laravel is in MVC

0 Likes
1 Replies
Solved
posted 10 years ago

Deleting a Job from queue outside of worker

How can i get a Job instance to delete a job from queue? I know how to delete it in my job Handler m...

0 Likes
4 Replies
Solved

Form data is retained if I use blade syntax but it is not retained if I use normal HTML syntax.

Hi , I have a form in my blade.php and a text input field in it which takes a space(' ') by default...

0 Likes
2 Replies

L [5] : how to autehnticate user on curl

i had made api in laravel 5 i want to authenticate User using CURL how can i use it Route.php Route...

0 Likes
2 Replies
Solved

Eloquent model reflection over a relation method

Hi, I am having problems to invoke a relationship method on a model over reflection. My models are:...

0 Likes
2 Replies

How to put middleware logic into a package ?

Hi everyone, Is it possible to put a middleware logic into a package without adding it in Http/Kerne...

0 Likes
0 Replies
posted 10 years ago

Subdomain ErrorException [mkdir(): Permission denied]

I get message ErrorException mkdir(): Permission denied after I apply website to Production Server f...

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