Support the ongoing development of Laravel.io →

Sorting by related field

How do I orderBy a field that's in a related table as in: DB::with('relatedTable')->orderBy('rela...

0 Likes
2 Replies

Order and paginate a collection by a releted field using Eloquent

I have these models: Post, Category and User. My goal is to show a paginated and sortable table disp...

0 Likes
7 Replies
posted 10 years ago

Sort by distant relationship

Hello. So I have these Models: Product - for example, a t-shirt ProductVariant - for example, a XL-s...

0 Likes
4 Replies
Solved

convert this query to laravel query

i wont to make this query : SELECT w.wilayah, a.penerima FROM ( SELECT DISTINCT w...

0 Likes
0 Replies

Vuejs Vuetable-2 error.

Hi I'm following a tutorial tutorial But I keep getting the same error: TypeError: this.$refs.pagina...

0 Likes
7 Replies
Solved

New Forge Linode server not provisioning.

Has anyone else had the problem that a new linode server on forge doesn't finish provisioning? After...

0 Likes
2 Replies
posted 10 years ago

How do I replace the words of a text?

Hello.. How do I replace the words of a text? Example: $str = 'Hello :name ..Do you like :drink?'; $...

0 Likes
5 Replies
Solved

Property [token_symbol_id] does not exist on this collection

Hi all Iam trying to write controller for form i got a this error plz any one can help me thanks in...

0 Likes
1 Replies
posted 7 years ago

prepend CSS rule after mix processing

Hello, I'm trying to prepend every rules in my final public/css/admin.css with a .admin CSS class. T...

0 Likes
0 Replies
posted 7 years ago

Intervention Image issue

Hey Guys, I would love to kindly ask you for help with image resizing through Intervention Image plu...

0 Likes
0 Replies
posted 7 years ago

Login - Named Error Bags (laravel 5.5)

Hi, I'm really struggling with a login-box and a second form on one page. I can't manage to change t...

0 Likes
0 Replies

Reset password without users email address

Hi there, I want to simplify the password reset process for the user by determining the users email...

0 Likes
0 Replies
posted 10 years ago

Says email does not comply with RFC 2822, 3.6.2

I am having a really strange error in my email code. I am pulling a list of all Admin users from my...

0 Likes
5 Replies
posted 7 years ago

count from 2 3 relations down

Hi, Has anyone managed to count data from 2 tables down a relationship Normally you would do it with...

0 Likes
1 Replies

Getting weird strings after php artisan route:list

Greetings, I am working on a project that gave me after the withdrawal of developers. when I type ph...

0 Likes
1 Replies
Solved
posted 8 years ago

How to use the UrlGenerator::assetFrom() ?

When I use it in Blade template . It show me that Fatal error: Call to undefined function assetFrom...

0 Likes
2 Replies

Get data of one to many, which is got from many to many

My Category model public function firms() { return $this->belongsToMany('App\Firm'); } My Fi...

0 Likes
0 Replies
posted 7 years ago

Google bots doesn't read website

Hi, On some pages the Google bot can index the page, but other's it isn't possible? What causes this...

0 Likes
0 Replies
posted 7 years ago

GoDaddy flags PsySH as malware... anyone else seen this?

We've got a Laravel 5.4 app on shared hosting with GoDaddy, and today we got an "incident"...

0 Likes
3 Replies
posted 7 years ago

Why laravel can not cancel validation?

I think laraval no support in this regard, what do you think? I think one of the field validation f...

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.

© 2024 Laravel.io - All rights reserved.