Support the ongoing development of Laravel.io →

How to create a query out of this!

Hi there, How can I convert this SQL into PHP? UPDATE cashbooks SET amount = amount - (SELECT amo...

0 Likes
2 Replies

Laravel Eloquent Relationship with 2 pivot tables

I'm new with relationships and eloquent. I still don't really understand working with eloquent and p...

0 Likes
1 Replies

Tracking and protecting the downloads of PDF

Hello, A client of mine would like to track the number of downloads for documents in a Laravel 5.8 w...

0 Likes
0 Replies
posted 5 years ago

[SOLVED][Laravel 5.8.13] Laravel Query Builder Subquery

[I've used whereRaw on Subquery] Dear Sir, I have some problem on below, $withRanks = DB::...

0 Likes
0 Replies
posted 5 years ago

Multi-domains, multi-tenancy Laravel App (Laravel 5 & 6)

Hi everyone, for who needs a multi-domain, sub-domain, multi-tenancy Laravel App, I've just updated...

0 Likes
2 Replies

Installation problems on Plesk.

I tried to install laravel into my domain “mydomain.gr” on Plesk. I have enable the SSH and my provi...

0 Likes
3 Replies

Malicious files

Hi, i am facing malware attack on my server. Hackers uploading malicious files on my laravel folder...

0 Likes
1 Replies
posted 5 years ago

Relationship many to many with 3 tables

Hello everybody, I'm a newbie and I have a question with relationship. Roles Permissions Role_Permis...

0 Likes
1 Replies
posted 5 years ago

Laravel multiauth

How to create multiauth in laravel with a single login form for user and admin.

0 Likes
2 Replies
posted 5 years ago

save product and logged out

Hi, I have this code in my controller: public function store(Request $request) { $user =...

0 Likes
0 Replies

Dusk directory vs phpunit

Hi, first time i try dusk. So i follow steps in documentation. After dusk installation, we see a new...

0 Likes
1 Replies
Solved

how to get all ratings for a specific category?

Hello I want to be able to access all the ratings of a category in ecommerce application. here are t...

0 Likes
0 Replies
posted 5 years ago

SwiftMailer and STARTTLS

I am encountered a problem with SwiftMailer in that it does not support STARTTLS which is the curren...

0 Likes
1 Replies
0 Likes
0 Replies
posted 5 years ago

session driver

Hello, using laravel 6 here. worked with file until today, now would like to try database driver: I...

0 Likes
0 Replies
posted 5 years ago

Dropdown data from other table

I have the following tables; master - id - name - city_id cities - id - name In the edit page of...

0 Likes
1 Replies
Solved

Spark registration flow

I'm looking at using Spark for a new project but I'm not that keen on the current registration proce...

0 Likes
0 Replies
posted 5 years ago

Laravel Excel Trying to export with chart but no chart outpu

I am trying to export laravel-excel data with chart, but no chart output on excel. Only the array Da...

0 Likes
0 Replies
posted 5 years ago

Upload function values to excel on laravel Nova

Hi .. There is a ready-made script that uploads data in excel format, from a resource that implemen...

0 Likes
0 Replies

Insert in Database number of seats

How to insert in database number of the seat from the bus and check what seats are available. What I...

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

© 2025 Laravel.io - All rights reserved.