Support the ongoing development of Laravel.io →

Repositories and Relationship

Hey guys. I want to start working with repositories because right now I handle all the data from the...

0 Likes
7 Replies

MySQL Deadlocks on Session Insert

Hi, We are facing some intermittent deadlocking on the attempted insert (or update) of new Session p...

0 Likes
2 Replies
posted 9 years ago

problem with many to many

hey, i have a pivot table with user_id and snippet_id but when i get the data i need the resolved ca...

0 Likes
3 Replies

Hierarchial data in a single table

I'm building an app with lots of this kind of data, e.g. jobs. Most have a parent so I've started cr...

0 Likes
3 Replies
posted 9 years ago

Laravel database session has stopped to work

Hi, I was using the database driver for the sessions and all had worked perfectly. But after some of...

0 Likes
3 Replies

Good TLD to pick for development on Homestead

I'm wondering what is a good gTLD to pick for all my vagrant/homestead boxes I setup? i.e. .app .dev...

0 Likes
3 Replies

Blade content

I have a simple code to using master layout and pass some data to View to practice Laravel, the foll...

0 Likes
6 Replies

How do you grade this code?

Hi; On my journey to learn OOP I finally managed to make some progress in OOP. Still there is a worl...

0 Likes
3 Replies

Unit testing using basic.once auth filter

I'm attempting to build a RESTful API using stateless authentication. However, I'm having trouble un...

0 Likes
0 Replies

unable to login users Auth::attempt($user) always return false. Please help

i create a simple registration from that takes the email and password to login in users after regist...

0 Likes
4 Replies
posted 9 years ago

Database query where a join is null

Simple version of database. mortgages | id | case_id(cases@id) | | 1 | 1 | | 2 | 2...

0 Likes
1 Replies

Validation value instead of attribute

Hi, is possible to return the input value instead of the :attribute in the error messages? Thanks

0 Likes
0 Replies

Lightbox Images Dynamically Created

Hi all! I want to add lightbox to images dynamically created from a form. This is the code for creat...

0 Likes
5 Replies

Different price for each user for each product : Pivot table relation query !

My teacher today gave us a problem today, it goes like this : ##Scenario You are developing an eComm...

0 Likes
10 Replies
posted 9 years ago

Multitons in IoC container?

I haven't actually used Laravel yet, but I was curious as to whether its dependency injection contai...

0 Likes
1 Replies

How to prevent duplicates on belongsTo/hasMany associative relationships.

on album model: public function band() { return $this->belongsTo('Band'); } on...

0 Likes
3 Replies

php artisan routes not working with $_SERVER['HTTP_HOST'] ?

In my app's bootstrap code I need to use $_SERVER['HTTP_HOST'] to do some initialization. Problem is...

0 Likes
3 Replies
Solved
posted 9 years ago

Cache time to expiration

Hiya - is there a way to get the time to expiration for a cached object?

0 Likes
1 Replies

Laracast video on OCP does not make sense!

Hi; This example does not make any sense, it is wrong and not following SRP either! Author seems to...

0 Likes
3 Replies

how to nested paginate

Hi all, My question is about pagination. I have some posts and some comments for each post. I unders...

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.

© 2024 Laravel.io - All rights reserved.