Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Adailton de Jesus Cerqueira Junior's avatar

How do you store scripts from another language in the Laravel project?

In our project, in Laravel 8, we need to create a Python script to convert very large files from xlsx to csv.

We would like to know what standard the community uses to store third-party scripts in their projects?

0 likes
6 replies
Braunson's avatar

It varies via personal preference but if it's a one-off Python script I've made, I'll drop it in a python folder in the root of the project. You can put it anywhere but I generally like to keep them in a folder on the root.

1 like
mikekelvin's avatar

Creating a dedicated directory project (e.g. resources/scripts). By placing the scripts in the directory and then referencing them in the Laravel applications.

1 like
Adailton de Jesus Cerqueira Junior's avatar

@davidvandertuijn we are testing the convert files from xlsx to csv in another language, because actually we are with performance problem in a feature.

We used PhpSpreadsheet for read/write xls and csv files. We are also testing the libraries Fast Excel to improve performance.

Please or to participate in this conversation.