PhpStorm Startup task - php artisan serve

前端 未结 2 1743
没有蜡笔的小新
没有蜡笔的小新 2020-12-11 18:46

I am working with a project locally and I want to run \"php artisan serve\" with the PhpStorm\'s startup task feature every time I start the project.

I went to

2条回答
  •  一整个雨季
    2020-12-11 19:33

    Where do I add this PHP task? – Brad

    phpstorm 2017.2

    File -> Settings... -> Tools -> Startup Tasks -> +(Add) -> PHP Script

    Name: serve

    Single instance only - checked

    File: path/to/artisan

    Arguments: serve

提交回复
热议问题