Home Features Download Changelog Blog Laravel on Windows Local PHP Server Alternatives XAMPP Alternative Laragon Alternative Laravel Herd Alternative WordPress Localhost Release Integrity Support Contact Report a Bug Feature Request Security Legal
Login Register
One-click Laravel workspace

Laravel on Windows

Create and manage Laravel applications on Windows without manually wiring PHP, Composer, MySQL, ports or .env values.

Create a Laravel project

  1. Open Laravel from the LaraStack sidebar.
  2. Enter a project name.
  3. Select a drive or choose a parent folder.
  4. Review the destination path.
  5. 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.
  1. LaraStack-managed Composer
  2. Composer available from the Windows PATH
  3. LaraStack-managed Composer installation when nothing is available

LaraStack 3.0

Free Windows-first local development for PHP, MySQL, Laravel and WordPress. Presented by CyberOrion.pk.

Download LaraStack Free

LaraStack Support

Typically replies within a few hours

👋 Hi! Welcome to LaraStack support. How can we help you today?