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

zbyneksmetana's avatar

What is the effective way to work with Laravel

Im new in Laravel. I have a question about "how laravel developers effectivelly work/produce code". For example ... they write a program on local computer in editor , push/git on hosting serwer or rsync i dont know or working on remote files instead local, then run composer, tinker, test ect on hosting server. Is it right way to working with Laravel. Sorry for language mistakes.

0 likes
2 replies
mikefolsom's avatar

Typically, you will code everything locally in the editor of your choice, with a web server running on your local machine—preferably one that is configured (nearly) identically to the production server. In the Laravel community the most popular options are Valet and Homestead.

To deploy, most developers push the code to a Git repository, from which it is pulled to staging and/or production servers via "hooks". Ideally, this will also trigger the server to run Composer commands to install dependencies and optimize the codebase.

1 like

Please or to participate in this conversation.