Support the ongoing development of Laravel.io →

1,539 Threads

Laravel import excel data with eloquent relationship

I have to import excel sheet from laravel to database table. Student Table: studentid studentname sp...

alnomany liked this thread

1 Likes
0 Replies

Auth::user() returns null in test with data provider

I am testing my application (5.8) with the integrated PHPUnit configuration and I have problems with...

0 Likes
2 Replies

Database issue

Illuminate\Database\QueryException : SQLSTATE[HY000] [2002] Connection refused (SQL: select * from...

0 Likes
2 Replies
posted 4 years ago

Using where condition inside collection filter method

I have a collection that I want to filter if its property value falls under the current month. For t...

0 Likes
0 Replies

Fetch & Show certain rows in a table on clicking a button

I'm pretty new when it comes to Laravel & I've been trying to code this mini-account management...

0 Likes
0 Replies
posted 4 years ago

Is it possible to have access to a pure php file?

Hi everyone, I have a script in pure php, and that script receives 3 variables by GET method, my que...

0 Likes
1 Replies

Unit Test temporaryUrl

I got an error when im running the unit testing when i add temporaryUrl on retrieving file from s3 ....

0 Likes
0 Replies

drop down in form (using Laravel)

I have been working to build a laravel form and for the fields where text input is required I have s...

0 Likes
1 Replies

Facade\Ignition\Http\Controllers\ShareReportController

Action Facade\Ignition\Http\Controllers\ShareReportController not defined This exception is thrown...

0 Likes
0 Replies
posted 4 years ago

Best Practice...Call API within loop.

QUESTION TO THE FORUM, what is best practice to call GET API many-many times within a loop? I have ~...

0 Likes
3 Replies

Laravel API middleware not working in production server

Hi friends, I try laravel API authendicate token so i add a middleware method and check api verifica...

0 Likes
2 Replies

Laravel session using through API

Hi friends I using Angular as frontend and laravel as backend Now i try to store a value in session...

0 Likes
0 Replies

laravel search

I create a function for search $search = $request->get('search'); $search2 = $reques...

0 Likes
0 Replies

Delete duplicates records from large collection

I have a large database table (~1 million records) which I need to purge the duplicate records. The...

0 Likes
0 Replies

Guzzle postAsync with api calls

I am using Guzzle 6 to update products to shopify via API. I am using async post method to upload pr...

0 Likes
0 Replies

php artisan serve works but page keeps reloading

I installed fresh laravel 5.8.35, and run the following commands install npm php artisan make:auth...

0 Likes
1 Replies

I am trying to eager load parameter in eloquent laravel 5.8

I am trying to eager load data from a many-to-many relationship in eloquent laravel 5.8. The below c...

0 Likes
1 Replies
posted 4 years ago

Insert and update

Hello. I do reservation for trip. I choose the number of seat from first table with status 1. When i...

0 Likes
0 Replies

laravel 6 how post with ajax

This is my ajax function in the view that should be called when a select change the selected option...

0 Likes
1 Replies

How I can pass environment variables to scss/ sass file usin

How I can pass environment variables to scss/ sass file using laravel mix and webpack?: Hi, Please r...

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.