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

mmiscool's avatar

How to use regular old php application from laravel environment.

Is there a simple way to add a folder with just some normal PHP stuff and make it available at a particular address that will allow that application to work normally?

ie. Mylaravelsite.dev/myLegacyAplicationName/

0 likes
3 replies
mmiscool's avatar

I think you misunderstand.

I need to make the normal php application available from a laravel environment. Not just access it's DB.

lara56278's avatar

What is your dev environment? Are you using Homestead via vagrant or something else?

If you are using Homestead you simply need to add a new map: address and to: and then update your hosts file. Add an index.php file to that project and you can make a normal php project without installing a new laravel app.

See the laravel docs for more info: https://laravel.com/docs/5.3/homestead#adding-additional-sites

Please or to participate in this conversation.