Examples:
If the project opened in phpstrom is tuts_files, there is a directory my_laravel / public in the project, if you want to specify pulic as the startup directory
Just enter in Terminal in phpstrom
php -S 127.0.0.1:8080 -t my_laravel/public
If prompted:
PHP 5.5.12 Development Server started at Wed Oct 25 15:29:48 2017
Listening on http://127.0.0.1:8080
Document root is D:\work\tuts_files\my_laravel\public
Press Ctrl-C to quit.
The server has started
Type in the browser:
127.0.0.1:8080
You can access the content of the startup file under public