# How to develop Laravel apps in IntelliJ
Tutorial for [[Laravel]] development inside [[IntelliJ IDEA]] (by [[JetBrains]]).
- Install IntelliJ plugins
- PHP
- PHP Annotations
- Php Inspections (EA Extended)
- PHPUnit Enhancement
- Pest
- PhpClean
- PHPStan Support
- PHP Toolbox
- PHP Advanced AutoComplete
- PHP Command Line Tool
- PHP Remote Interpreter
- PHP Docker
- PHP WSL Support
- PHP RegExp Support
- PHP Class Templates
- PHP Foldings
- JsonToPHP
- Blade
- Laravel Idea
- Laravel Query
- Inertia.js Support
- Configure the PHP interpreter
- Go to Settings > Languages & Frameworks > CLI Interpreter
- When using Sail and Docker
- Add a new one "From Docker, Vagrant, WSL..."
- Choose Docker compose
- Locate the right Docker engine
- Choose `./docker-compose.yml` for the configuration file
- Select `laravel.test` as service
- Select `Connect to existing container ('docker-compose exec')`
- Make sure that `.idea/php.xml` points to `/var/www/html` and not `/opt/...`
- If needed, replace this line: `<remote_data INTERPRETER_PATH="php" HELPERS_PATH="/opt/.phpstorm_helpers" VALID="true" RUN_AS_ROOT_VIA_SUDO="false" DOCKER_ACCOUNT_NAME="Docker" DOCKER_COMPOSE_SERVICE_NAME="laravel.test" DOCKER_REMOTE_PROJECT_PATH="/var/www/html">`