Support the ongoing development of Laravel.io →

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 11 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 11 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
posted 11 years ago

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 11 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

Webhooks for Gitlab.com & Github

Hi, I thought you might need this as much as I do, so I released it as a composer package: https://p...

0 Likes
0 Replies
posted 11 years ago

favicon.ico

Could someone help me how conjure the favicon.ico? Apache document root points to the public folder...

0 Likes
3 Replies
posted 11 years ago

Add feed to laravel from another website

Hello. Is there any fast solution to add feed from another site to laravel. What i need is to put in...

0 Likes
2 Replies

Getting package config from service provider register()

I've been having issues with loading config from within the register() method of a service provider....

0 Likes
0 Replies

Passing parameters from route to controller

Hi all, In my design, I have categories, and posts for each category. Each post has a date, dd/mm/yy...

0 Likes
3 Replies

Simple voting system with Laravel 4 ?

I have 2 models: Question and Answer with a votes integer field. I already created the ajax request...

0 Likes
3 Replies

How to deploy a laravel project?

Like the question says How I should deploy a laravel project? that is already on github. Do I need 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.

© 2025 Laravel.io - All rights reserved.