Support the ongoing development of Laravel.io →
posted 5 years ago

syntax error, unexpected ';', expecting ')' Laravel

where is the error $products=Product::whereHas('product_name','like','%'.$request->get('name').'%...

0 Likes
1 Replies

Route protection with Socialite

Hi guys ... here i am trying to protect some of my routes. I m using socialite and it is already wor...

0 Likes
4 Replies
posted 5 years ago

login to website from API

I am trying to use \Auth::loginUsingId($user_id); in my api but after I use it user redirect to logi...

0 Likes
2 Replies

which is the best way for scraping data in laravel

I'm working on a laravel api, which is used for an android application. I want to instantly scrape d...

0 Likes
1 Replies

Laravel multiple views/localizations for different subdomain

Is there solution for multiple views for different subdomains? Also it should handle queuable action...

0 Likes
0 Replies
posted 5 years ago

How to redirect the user after creating a post

Trying to redirect the user to the thread page after creating their thread. I am not sure to pass th...

0 Likes
1 Replies
Solved
posted 5 years ago

how to add?

Look at my codes, I want to save the information, then everything falls apart. I have three tables,...

0 Likes
0 Replies
posted 5 years ago

Blade parts of component don't get rendered

I've got some weird behaviour of a component: With this x-layouts.app I'm getting this: https://past...

0 Likes
0 Replies
posted 5 years ago

Larafold: Laravel 7 CRUD Scaffolding Package

Larafold is a Laravel 7 package created to make your life easier. It contains scaffolding for new La...

2 Likes
0 Replies

Foreign key column vs belongsTo

VendorProduct belongsTo a single Vendor. To find or assign a Vendor to a VendorProduct, must the Ven...

0 Likes
0 Replies
posted 5 years ago

what is the best way to write this type of queries?

SELECT user_id, COUNT(*) AS clients_commented_for FROM (SELECT user_id, COUNT(*) FROM comments WHE...

0 Likes
10 Replies
Solved

Laravel generated PDF formatting issues

I am generating a PDF file from HTML which is actually a bootstrap template for a quotation. I am us...

0 Likes
0 Replies
posted 5 years ago

How to calculate completed task percentage

i am working on pomodoro technique project. In this project i have two types task completed task and...

0 Likes
0 Replies
posted 5 years ago

how to go one step back in laravel root dir

i have a gallery folder which i created out of laravel project and i want to access that folder.ar

0 Likes
1 Replies

Class input not found

Working on comment to make as solution and I have this... `public function markAsSolution() { $s...

0 Likes
2 Replies

Error laravel

I have laravel , but I have error my project using laravel folder: /vendor/phpunit/php-code-coverage...

0 Likes
1 Replies
posted 5 years ago

Call to a member function getClientOriginalName() on array

I have a multiple image. When I upload multiple image. I get this error. Call to a member function...

1 Likes
1 Replies
Solved
posted 5 years ago

Blank white screen in Google Calender

I am trying to display Google Calendar in Laravel application. I can fetch Google Calendar using thi...

0 Likes
0 Replies

Laravel Response deleted_at

deleted_at when there is a null response "delsoseted_at": "1969-12-31 18:00:00",...

1 Likes
0 Replies
posted 5 years ago

Laravel (Vue.j and MySQL) bugs, looking for help to fix it.

Hi, We have to launch a website in less than 48 hours and we have some issues that must be fixed. Th...

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.

© 2026 Laravel.io - All rights reserved.