Support the ongoing development of Laravel.io →

Naming Convention For Modal And Database Table

Hello All I am confused with naming convention in laravel for model name and database table name.I h...

0 Likes
0 Replies
posted 10 years ago

Extending A Common Model

I have several models which share a similar schema in the database, is there a way I can create a pa...

0 Likes
4 Replies
Solved

Form Model with Child table

Hey there, I would like to know, how can I bind a form to a model with another table. let's say for...

0 Likes
1 Replies

Eloquent chain relations

Hi all, I have tables Table Fields users id posts id, user_id, status_id status...

0 Likes
2 Replies
Solved
posted 10 years ago

Reach of Eloquent Model "touch"

Having a ancestry tree of more than 2 nodes (e.g. Great Grandparent, Grandparent, Parent, Child) is...

0 Likes
0 Replies
posted 10 years ago

Error: token_get_all()

Hi, I'm really new in Laravel. I'm follow a example in CRUD pero I have this error: Call to undefine...

0 Likes
2 Replies
posted 10 years ago

SQL Join/LeftJoin Statements

I'm trying to join two queries with this statement: $item = Category::where('type', $item)...

0 Likes
3 Replies

Cache Tags on differing environments; Looking for an elegant solution

I understand why Cache Tags aren't allowed on the File Storage/Database cache drivers. However we d...

0 Likes
0 Replies

Changin session driver on the fly

Hi guys, I have a problem. I use two database in my application. I would like to change session driv...

0 Likes
0 Replies

Should you use models/repositories in Migrations?

Is it considered acceptable practice to use models in migrations? I've seen many code snippets where...

0 Likes
1 Replies
posted 10 years ago

Nothing happens when i change something in app

So i have deployed app with dploy.io, and everything works fine. Then i changed routes to test if it...

0 Likes
0 Replies

is it possible to convert data during migration?

I'm going to change some models' relationship from one-to-many to many-to-many. Is there a way do ap...

0 Likes
0 Replies

condition on belongsToMany

can i get data in single query ? $author = Author::where('id', '=', $authorId) ->where('salt', '=...

0 Likes
1 Replies

Suggestion / Question about Laravel bundles.

When I check out http://bundles.laravel.com/bundles, I can see that many bundles are for Laravel 3....

0 Likes
2 Replies
posted 10 years ago

createFromTimeStamp language

Hey, to generate "time ago" text, i use the following code: {{ \Carbon\Carbon::createFrom...

0 Likes
0 Replies
posted 10 years ago

Query builder -- map to array object

Hi, Method get from query builder return array of stdClass object. It is posible change stdClass to...

0 Likes
1 Replies
posted 10 years ago

Package development tutorial - Class not found

Hi! I'm newbie to Laravel4. Trying to follow the package development but when running Laravel I got...

0 Likes
1 Replies
Solved

Multiple domains, how to share login?

I have multiple Laravel installations running on multiple domains: A, B, C, D etc. These are service...

julienbourdeau liked this thread

1 Likes
4 Replies

Multi-level parent child categories

Hello, I'm very new to laravel and am converting an application I wrote earlier in very unstructured...

0 Likes
2 Replies

Handling Redis Session Expections

I would like to set up Redis to handle sessions, however, I found an issue. When I stop the Redis se...

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.

© 2025 Laravel.io - All rights reserved.