PHP and Bootstrap compiler for local development of web app [closed]

Looking for a ParcelJS type Bootstrap 5 compiler.

I am developing a web app, usually I do it on the server working remotely, save, and refresh the browser on the iOS simulator. I am looking for something I can do this locally faster. I have MAMP that handles the PHP server locally but I am trying to get BS5 compiled scss files into .php pages.

Is there a build tool that can handle this type of development?

I tried ParcelJS and it does a great job of compiling the scss, sass, and html pages but it does not recognize the .php extension on files. I need to include some php scripts into the app to access $_SESSION variables on the index page.