Skip to content

LaraEnv 0.4.10 — Custom dev server command

Choose a tag to compare

@thayronarrais thayronarrais released this 06 Jun 14:40

What's new in 0.4.10

New: Custom dev server command per project

The Start button in a project's Dev section is no longer locked to
npm run dev. You can now set your own command per project — ideal for
Laravel stacks that drive their dev workflow through Composer or Artisan.

  • Click the caret next to Start and choose Configure command…
    to set a custom command for that project.
  • It runs any command, not just package-manager scripts — e.g.
    composer run dev, php artisan serve, or whatever your stack uses.
  • Leave it empty to keep the default npm run dev — existing projects are
    unaffected.
  • Need the port? Drop a {port} token anywhere in your command
    (e.g. php artisan serve --port={port}) and LaraEnv substitutes the free
    port it reserves. Without the token, the tool picks its own port and
    LaraEnv still detects it from the logs to wire up the reverse proxy.
  • Projects with a custom command now show the Dev section even when they
    aren't a JavaScript project, so plain Laravel apps get a Start button too.

Thanks to @azharazziz for the feature request (#3).

Install / verify

Download LaraEnv-0.4.10.msi and verify with the included sidecar:

(Get-FileHash -Algorithm SHA256 LaraEnv-0.4.10.msi).Hash
# expected: 2BFFCBB263D94E8680CA54E83119EC064CD9FAC82717604DBD4A28F9F9198C30