Support the ongoing development of Laravel.io →

Having issues with relationship tables and eloquent

I'm having issues with a relationship table and pulling the data from the lookup table. I have a mem...

0 Likes
4 Replies
Solved

Need help with Eloquent query builder

I need to rewrite the following raw query using the Eloquent Query Builder. Any help would be much...

0 Likes
0 Replies
posted 10 years ago

Undefined property: Illuminate\Http\Response::$charset

Hello I've created a site to manage articles for a client. The problem is, whenever I try to get to...

0 Likes
4 Replies

Laravel Authentication

Hey, Is there any easy way to use USERNAME instead of EMAIL ID for login in Laravel 5.1 inbuilt auth...

0 Likes
1 Replies

Model timestamp scope Year

Hello, i'm trying to specify a scope to filter a timestamp by year The goal is to be able to do some...

0 Likes
2 Replies
Solved

Recursive condition on a relation.

So I got a small situation here i got a model for pages, with a all so known parent_id field as rela...

0 Likes
0 Replies

Laravel displays redirecting to url message

Hello everyone I'm trying to validate my input but I have weird problem with redirecting when Valida...

0 Likes
0 Replies
posted 9 years ago

Using cookies to store some session data

Hi there, I'm wondering if there's a way to create a custom session driver or any other code that ca...

0 Likes
0 Replies

Modelname:where('some where condition') works fine in the controller .but if i try to run it inside any model or class it does not work

Hi Need some help.. I am building my own login model using a customuserProvider (it implements User...

0 Likes
2 Replies

"Best Way Too" Question regarding setting up scheduled tasks.

I have a function at the moment where a user can view a variety of items. I'm wanting to implement(c...

0 Likes
1 Replies

Laravel-5 validator add new values to request array

Hi I'm trying to add new values to the request array before it gets passed to the controller to be p...

0 Likes
1 Replies
posted 9 years ago

withTrashed() on a Recursive Relationship

I am creating a forum feature for my company's web app that includes nested replies that are very si...

0 Likes
1 Replies
Solved

Configuration issue? Ubuntu 14.04 Simple route will not return correctly.

Route file <?php Route::get('/', function () { return 'Hello World'; }); Route::get...

0 Likes
5 Replies
Solved

Loading views with (ajax?)

So I am currently developing my onepage portfolio and have decided to try and learn some Laravel in...

0 Likes
4 Replies

problem in making login app

here it is my code: http://laravel.io/bin/yGXy8 when my entered value is match to database value it...

0 Likes
1 Replies
posted 9 years ago

how to implement Singleton in laravel 5.0 ?

i have created a class as follows class CommonContainer { public $value1; public $value2; private st...

0 Likes
1 Replies

How to skip a row in laravel eloquent query builder with file_exists condition

This is for a search query based on many input fields, i'm doing if statements inside the query base...

0 Likes
2 Replies
posted 9 years ago

Route aliases or resolvers possible?

Hi, I have the following route: Url: /users/{user_id}/friends Route::get('users/{users}/friends', 'U...

0 Likes
0 Replies

Probably stupid newbie 'what's the best way to..' question

I'm a long time old school procedural programmer, slowly (at my age, everything is slow) getting my...

0 Likes
3 Replies
Solved
posted 9 years ago

Unable to send mail from laravel 4 on godaddy hosting

I am using the following code to send email using laraval 4 Mail::send('emails.welcome', array('data...

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