Support the ongoing development of →

Burak Buylu

Joined 22 Sep 2020


Threads 4
Replies 0
Solutions 0
Articles 0
posted 1 year ago

If Route is Missing Go New Route

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

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

Likes Replies

Hasmany With Sum but Whats The Variable Name?

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

Likes Replies
posted 2 years ago

How do I hasMany->hasMany SUM?

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

Likes Replies

burakbuylu has not posted any replies yet

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 - All rights reserved.