Support the ongoing development of Laravel.io →

4,311 Threads

Need Calendar Event for Laravel 5

Hello, I have a Market Model. I need to add the open/closed function with a Calendar Event and didn'...

0 Likes
4 Replies
Solved

Proper API JSON pagination

Hello everyone. I'm kinda new to Laravel so sorry if this is a noob question. I have an API controll...

0 Likes
3 Replies
Solved
posted 9 years ago

How can I use onWriteConnection() to create new user?

$user = new \App\User::onWriteConnection(); $user->name = \Input::get('name'); //... $user->st...

0 Likes
2 Replies
Solved

Laravel eloquent modelling is getting buggy?

Hi, I am create multi-relation system on tables, and return $staff i get whole data successfully.Its...

0 Likes
2 Replies
Solved

Proper/best way to access user data

Hello everyone! I'm new to Laravel and I'd want to know the proper/best way to access the currently...

0 Likes
3 Replies

Cant find a solution in Query

hi all, i need to execute the following query as iam new to laravel, i cant find what went wrong in...

0 Likes
0 Replies

Polymorphic Relationship with eager loading other relationships

Hey guys, im currently working on a project with a polymorphic relation and im trying to combine it...

0 Likes
3 Replies

UPDATE won't work

edit.blade <label align="center" > {!!$post->id!!}</label> <textarea rows="5" cols...

0 Likes
0 Replies

(new to Laravel) Class not found in the Controller

I've making my first laravel applications based on some phpacademy tutorials on youtube. Seems like...

0 Likes
3 Replies
Solved

L5 Route model bind not working.

hello, My L5 route bind is not working. My controller is in another namespace. I tested the data exi...

0 Likes
0 Replies

[Package] Versioned Eloquent models

About a month ago there was a conversation on reddit.com/r/Laravel about how to do versioning on Elo...

0 Likes
0 Replies

How to create logic for 'users who view my profile' ?

Hi, It might be a noobish question but I'm not sure how to write this logic... Lets say I have Blog...

0 Likes
2 Replies

Ability for packages to easily add mutators for attributes/columns based on their type.

Hi, currently it's quite hard to make good interfaces for special column types in Eloquent, like geo...

0 Likes
1 Replies

Laravel multi auth problem

Hi i am using laravel 5, I create the admin panel everthing is perfect. I group users 3 categories....

0 Likes
4 Replies
Solved

Pivot for different destination table

I am going crazy... I have: a Test model and a tests table (Id,name,some other fields) a Module mod...

0 Likes
1 Replies

getting related models randomly with a limit

greetings! so, i want to get X random models from a parent: i have sub-categories and they have many...

0 Likes
1 Replies

Laravel does not see routes just the '/' one

I have just installed laravel 5 on my wamp server and the '/' route works perfect but other ones doe...

0 Likes
7 Replies

Cannot add a Foreign Key to table

I created two tables and wanted to use the following command to create a foreign key $table->fore...

0 Likes
3 Replies

Question about Eloquent relations

Hi all! Tell me please what should I do if I have a task like this: I have a chatboard with messages...

0 Likes
1 Replies
Solved

Scrutinizer marks Eloquent save() as wrong

I'm trying to use Eloquent in one of my project works very fine. But the scrutinizer-ci tool marks t...

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.

© 2024 Laravel.io - All rights reserved.