Support the ongoing development of Laravel.io →

Burak Buylu

Joined 22 Sep 2020

Statistics

Threads 4
Replies 0
Solutions 0
Articles 0
posted 3 years ago

If Route is Missing Go New Route

Route::get('/{page:slug}', [App\Http\Controllers\PageController::class, 'show'])->missing(functio...

0 Likes
0 Replies

How do I use routes without unique prefix?

Hello, I want to use routes without unique prefix like this: `Route::get('/{category:sef}', [App\Htt...

0 Likes
1 Replies

Hasmany With Sum but Whats The Variable Name?

Invoices Model: public function items(){ return $this->hasMany('\App\InvoiceItems','invoice_id','...

0 Likes
0 Replies
posted 4 years ago

How do I hasMany->hasMany SUM?

Hello, How do I Many to Many SUM? Like this; $users->threads()->comments()->sum('amount');

0 Likes
1 Replies

burakbuylu has not posted any replies yet

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.