Support the ongoing development of →

3,585 Threads

Plans about VoltDB support - libraries

Hello Laravel community, Has someone initiated the development of libraries to integrate VoltDB into...

0 Likes 0 Replies

from QueryBuilder query to EloquentORM query

Hi, In my model I have users. Each user may have some roles. Each role have some allowed activities....

0 Likes 0 Replies

Default value for all Eloquent attributes

Hi, I'd need to set a default value for any Eloquent model attribute. So, for example if I try to ge...

0 Likes 6 Replies

Laravel Pagination in eloquent ORM with()

have used pagination in laravel and that time the query is very simple. So I have manage to work on...

0 Likes 0 Replies

Is it possible to set properties to the authenticated user?

In the User model, I've created a property called groupMembership and a method called setGroupMember...

0 Likes 3 Replies

Relation with dynamic entity

Hello guys, I got this big question on this scenario: I'm building a easy post and comment system, b...

0 Likes 2 Replies

Authenticated sessions vs session data

Is there a way to distinguish between an authenticated user session, and more transient session data...

0 Likes 3 Replies

how to use the data inside the event

app/filters.php App::before(function($request){ $sys_message = DB::table('u_message')->where(...

0 Likes 2 Replies

Dynamic constraints from router in Eager Loading

Hey guys, i've been looking for example about dynamic constraints using eager loading, but many exam...

0 Likes 0 Replies

Session Destroy

Hi, I'm a completelly newbie in laravel and I used to code with native php, here still cant find an...

0 Likes 8 Replies

Setting Database connection for Many To Many Eloquent relationship

Hi, I'm working on application that requires managing several databases from one administration inte...

0 Likes 1 Replies

Interface/Repository to multiple models

I'm writing a system around an existing database structure using Laravel 4.1. The current system is...

0 Likes 8 Replies

Loosing relationship when doing ->select(...)

Hi, I have two tables that look something like this: # Author # ID Name Slug 1 Denni...

0 Likes 3 Replies

Creating migrations on a web server

I am following the laravel tutorial guide for the creation of migrations. In the guide, it says to u...

0 Likes 2 Replies

whereHas() within a where() sub-query.

Howdy! When I try to use a whereHas within a grouped where class, I get an error. Any ideas? $activi...

0 Likes 2 Replies

Trying to query a relation of a relation

##Problem I have an eloquent model "Invoice" that hasMany "InvoiceTicket" that b...

0 Likes 5 Replies

Different types of users

Hello everyone, I'm an absolute beginner to Laravel, and this is my first thread, so I hope I'm not...

0 Likes 3 Replies

Auth, query scopes and whereHas() do not work together

i have set up users and roles table with a pivot table and i need to check, if logged user has admin...

0 Likes 0 Replies

Simple bog db structure and advice

I and looking to do my own blog to go alongside my new site build but was wonder what people would s...

0 Likes 4 Replies

Yup I give up.

I gotta give up. I don't want to, but I got to, because trying to learn Laravel with very very limit...

0 Likes 19 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 - All rights reserved.