Support the ongoing development of Laravel.io →
tuyenlaptrinh

tuyenlaptrinh

Joined 18 Jul 2014

Statistics

Threads 16
Replies 114
Solutions 12
Articles 0

belongsToMany three table

Hello. I have problem with relationship three table. We have the tables users - id - username compa...

0 Likes
2 Replies

Count position a comment on post

I have table in database Posts - id - content - parrent_id all posts will insert this table and all...

0 Likes
7 Replies
Solved

L5 OAuth error with Github

I am using this package https://github.com/oriceon/oauth-5-laravel Everything is good with Facebook...

0 Likes
3 Replies
Solved

L5 add parameters to fullURL

i make search page. i get full urll with code Request::fullUrl() http://demo.com/search?query=keywor...

0 Likes
4 Replies

Get variable in object Laravel

Example $post = Post::with('categories')->first(); one post relationship to many categories How...

0 Likes
3 Replies
Solved
replied 10 years ago
0 Likes
replied 10 years ago

Help with Eloquent query with relations

You can use this code $slug = 'example'; $products = Product::whereHas('category',function($query) u...

0 Likes
replied 10 years ago

Help with Eloquent query with relations

You wrong in this code $products = Product::with('category') ->where('products.is_active', '=', '...

0 Likes
replied 10 years ago

Passing session date to a jQuery clone

You can use this code for your form {!! Form::select('numberOfChildren',range(0,10),old('numberOfChi...

0 Likes
replied 10 years ago

using shared hosting, I get this error Fatal error: Call to a member function make() on a non-object in /home/user/public_html/index.php on line 48

In bootstrap/app.php $app = new Illuminate\Foundation\Application( realpath(__DIR__.'/../') ); And...

0 Likes

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.

© 2026 Laravel.io - All rights reserved.