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

BernardoBF4's avatar

Create a new empty project

I am currently starting a project from scratch and I created it with composer, but I noticed there are some settings already in place, such as Sail, bootstrap.js, etc. I am unaware if these settings are essential do the project or if I am not able to create a truly empty project anyways

Thanks for your attention

0 likes
6 replies
jlrdw's avatar

https://laravel.com/docs/9.x/installation#installation-via-composer

If your local machine already has PHP and Composer installed, you may create a new Laravel project by using Composer directly.

So for xampp or an already mysql, apache or nginx, php install you are good.

I suggest Windows use zip versions, linux (ubuntu) install each from a guide. There are tons of guides on this.

I do not like to develop in a container, I prefer full blown linux.

Mac, I do know have a mac, so can't advise.

1 like
Tray2's avatar

If you have ran composer create-project laravel/laravel <your project name> then it is an new empty project. Sail is shipped by default with laravel and the bootstrap.js file isn't in any way connected to the Bootstrap framework, but rather a naming convention for files that are loaded by default. In this case it imports axios into your application.

1 like
BernardoBF4's avatar

@Tray2 First, thank you for your reply. But what if I do not want bootstrap.js to import axios into my project right away, is there an option for that?

BernardoBF4's avatar

@Tray2 Expected a command for that, but it I'll just leave those files there. Probably won't hurt anything

Please or to participate in this conversation.