Create a Laravel project
- Open Laravel from the LaraStack sidebar.
- Enter a project name.
- Select a drive or choose a parent folder.
- Review the destination path.
- Click Create Laravel Project.
What LaraStack automates
- Checks the LaraStack PHP runtime
- Checks MySQL availability
- Detects an existing Composer installation
- Downloads and prepares Composer only when needed
- Creates the Laravel project
- Creates or updates .env
- Generates the application key
- Starts/checks LaraStack MySQL
- Detects the active MySQL port
- Creates a project-specific MySQL database
- Configures Laravel to use MySQL instead of SQLite
- Runs Laravel migrations
- Registers the project in LaraStack
Project controls
- Start
- Stop
- Open in browser
- Open Folder
- Open CMD directly in the project directory
- Delete Project
Dynamic Laravel ports
Laravel development servers begin from port 8000. If that port is already occupied, LaraStack selects another available local port automatically. The project environment is refreshed when the managed server starts.
Automatic .env configuration
The active runtime values are used instead of fixed assumptions. DB_PORT is synchronized with the current LaraStack MySQL port.
Reference
APP_URL=http://localhost:8000 DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=laravel_my_project DB_USERNAME=root DB_PASSWORD=
Composer integration
LaraStack attempts to reuse Composer before downloading anything.
- Supported PATH launchers include composer.exe, composer.bat, composer.cmd, composer.com and composer.phar.
- Managed Composer data stays inside LaraStack application data rather than requiring a global installation.
- LaraStack-managed Composer
- Composer available from the Windows PATH
- LaraStack-managed Composer installation when nothing is available