Support the ongoing development of Laravel.io →

4,311 Threads

posted 9 years ago

e-commerce tutorial

Hello, Im now learning laravel and in the end I want to build a sort of e-commerce solution for a to...

0 Likes
0 Replies

Relationships confusion

I'm a little confused with relationships and struggling to get it working, i guess in reverse order....

0 Likes
3 Replies

Repositories and Models

Hey all, I'm currently getting to grips with Repository patterns with Laravel after a nightmare of t...

0 Likes
4 Replies

Query results being dropped after collection creation & paginate bug ?

Hi guys, Starting to go crazy on that.... Behaviour: Query works and returns the results I want BUT...

0 Likes
0 Replies

Paginate problem

I create a table with paginate::simple. That work fine. When I edit a record I can return to the pag...

0 Likes
2 Replies

Laravel eloquent help?

Can someone help me convert this standard SQL into eloquent queries select main.name as main_name, s...

0 Likes
2 Replies
posted 10 years ago

namespaces

Is it possible to reference a full namespace? I mean using: use MyApp\Models; (this is not working...

0 Likes
3 Replies

How to return with function not in array

Hello, I have a table communications and a table agents. Each communication belong to an agent. I wo...

0 Likes
1 Replies

'orm' table name has 's' why?

##Hi guys, I created a table name in MySQL called "orm" I also created a model like this o...

0 Likes
2 Replies

Proper use of custom methods in models - Scope, static, etc

Coming from Codeigniter, I'm used to placing all my database queries in the model. From what i've se...

0 Likes
1 Replies

Composite key

hi, im using this migration: Migration and this model: Model how do i specify the composite key in t...

0 Likes
1 Replies

who adding a fields to relationship Table in pivot table method using laravel ?

Hello For All :) I want to design an online store. For each category of productions, we would have i...

0 Likes
7 Replies
posted 10 years ago

Default values in $attributes not mutated

Hi It seems that default values defined in $attributes are not being mutated before saving to the da...

0 Likes
1 Replies

Eloquent Queries

Hi all, It just a quick question about Eloquent and how it handles input data. The query builder as...

0 Likes
2 Replies
Solved

->take() producing no results

I'm getting a bunch of rows, like this: $raw = DB::table( 'objects' )->where( 'user_id', $user_id...

0 Likes
2 Replies

What is best way to make multilanguage website

How to make multi language website and pull all data pages from database? I see about Localisation b...

0 Likes
4 Replies
posted 9 years ago

Relationship dynamic properties

I understand the basic use of relationships, and i'm wondering if it's possible to get a dynamic pro...

0 Likes
8 Replies
posted 9 years ago

Accessing Private properties in Eloquent

I am learning Laravel and have an eloquent model. I have a public static function and I can access a...

0 Likes
1 Replies
Solved
posted 9 years ago

Problem with custom collection __set method

Hi guys, I'm new to Laravel. Currently I'm creating an app with WordPress-like database scheme: plac...

0 Likes
0 Replies

Frustrated with the number of blog posts, videos, etc on design patterns that gloss over the real work involved in implementatoin

First, let me say that I'm a huge fan of design patterns in general. I think that understanding them...

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