Or if you have a comment, question, or suggestion for improvements, please raise an issue.I would like to accomplish a "vagrant like" setup. If you would like to contribute to the workshop materials, please feel free to fork the repo and send us a pull request. The workshop is Open Source, licensed under the Apache 2 license. The latest version can always be found on the PhpStorm website. The PhpStorm Reference Card.pdf is the PhpStorm keymap.You can read these files easier by toggling View to Show Preview Only in the top-right corner. Some of the exercises (like this one) are in Markdown format.Most exercises are self-contained, others build on previous exercises. Simply open the numbered files one by one and follow the comments in the file. All numbered folders contain exercises that you can work on.We've included configurations for PHP Remote Interpreter, Database, Deployment Server, PHP Web Debug, PHPUnit and Behat. The project can be opened as is in PhpStorm. There are some things to know about the project: Alternatively, you can open the built-in PhpStorm terminal from View | Tool Windows | Terminal and execute the docker-compose up command. In the same docker-compose.yml, click the Run icon next to services: in the editor gutter to start all required Docker containers. This is necessary for Deployment to work correctly. Uncomment an appropriate line for sftp service in the same docker-compose.yml. Linux: execute hostname in Terminal and use the returned value.Windows/macOS: use, which will automatically resolve to the internal address of the host Docker is running on.Update XDEBUG_CONFIG variable in docker-compose.yml with the value depending on your operating system. Make sure to enable Expose daemon on tcp://localhost:2375 without TLS in the General section of Docker for Windows settings. Leave the Certificates folder field empty.Set Engine API URL to tcp://localhost:2375.Open Settings/Preferences | Build, Execution, Deployment | Docker and select how to connect to the Docker daemon: Most exercises not related to the code editor require having Docker containers running. Php composer.phar create-project jetbrains/phpstorm-workshop -s dev Note that you can also create a new project in PhpStorm: use the Composer project type and search for "jetbrains/phpstorm-workshop" There are several ways to get started with the PhpStorm workshop materials:Ĭreate a new PhpStorm Workshop Project in PhpStormĬreate a new project with Composer. See Docker documentation for installation instructions for your operating system. Docker for Mac, Docker for Windows or Docker (Linux) 1.13+.Exercises come as a PhpStorm project in which every file is a new exercise that may contain code and tips to get things done. This workshop is self-paced, meaning you can work your way through exercises on your own, whenever and wherever you want. A cheat sheet is available online and is also included in the workshop download. Other IntelliJ-based IDE's use the same keyboard shortcuts, so if you know how to work with PhpStorm, you'll know how to work with WebStorm, RubyMine, P圜harm, IntelliJ IDEA and more. We'll also cover a vast amount of keyboard shortcuts to make working with PhpStorm more efficient. It's virtually impossible to cover every option and feature in PhpStorm, but we're providing a number of practical exercises on how we can do our daily work as PHP developers. Examples are navigation, editing, inspections, live templates, refactoring, tools like Composer and the HTTP client, and many more. In these materials, you'll learn about many of the features and productivity tools available in PhpStorm.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |