My PhpStorm Setup
Published: 2023-09-20 12:15:37

---
title: My PhpStorm Setup
published: true
date: 2023-09-20 08:00:42 UTC
tags: 
canonical_url: https://dcblog.dev/my-phpstorm-setup
---

## Theme

I use the **New UI** which is located at **Appearance & Behaviour -> New UI**

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1695192684610/392298f6-9cf8-4a5b-b398-d9b40204f249.png)

Once turned on I use the **Light Theme** :

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1695192717855/2bdbe3c9-adc0-44cc-b709-1b5fc264f62d.png)

I like to keep things minimal, in fact, I turn off the toolbars and status bars by toggling distraction-free mode

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1695192853824/3e789f26-ac9a-45bb-a1fe-ff9db9b23e4f.png)

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1695192794493/6c92618c-8f3b-46fb-9312-0a8f651e9dee.png)

## Plugins

[.env file support](https://plugins.jetbrains.com/plugin/9525--env-files-support)

- Environment variables completion based on .env, Dockerfile and docker-compose.yml files.

- Go to declaration(in .env file) and usages(in code), by Ctrl(Cmd)+click or hotkey(Ctrl(Cmd)-B, etc.)

- .env file syntax highlighter

[BitBucket Pull Requests](https://plugins.jetbrains.com/plugin/13538-bitbucket-pull-requests) (Paid)

The plugin allows you to review Atlassian Bitbucket pull requests right in the IDE. It works with both Bitbucket Cloud and Bitbucket Server (6.x or later).

[Github Codespaces](https://plugins.jetbrains.com/plugin/20060-github-codespaces)

GitHub Codespaces provides a better development environment hosted in the cloud. Now you can spin up any codebase and connect from any compatible JetBrains IDE and start coding - whether it's a long-term project, or a short-term task like reviewing a pull request.

[Github Copilot](https://plugins.jetbrains.com/plugin/17718-github-copilot)

GitHub Copilot provides autocomplete-style suggestions from an AI pair programmer as you code. You can receive suggestions from GitHub Copilot either by starting to write the code you want to use or by writing a natural language comment describing what you want the code to do.

[Jira](https://plugins.jetbrains.com/plugin/11169-jira-integration)

This plugin provides the following functionalities:

- Fetch issues from the server with customizable searchers

- View issue details

- Run actions on an issue, like create or transit an issue, assign it, change his priority,...

- Go to a specific issue on the list

[Laravel Idea](https://plugins.jetbrains.com/plugin/13441-laravel-idea) (Paid)

Laravel framework support plugin.

Features:

- Powerful code generations

- Advanced routing, validation, request fields, gates & policies, config, translations, views, and a lot of other completions

- Close to perfect understanding of Eloquent magic

- Full Blade components support Livewire, InertiaJs, Dusk,

- Laravel-modules, and other third-party packages support

[Pest](https://plugins.jetbrains.com/plugin/14636-pest)

This plugin adds support for using Pest PHP inside PHPStorm, allowing tests to be run directly from a test file.

[Tailwind CSS Smart completions](https://plugins.jetbrains.com/plugin/15234-tailwind-css-smart-completions)

- Lightweight Tailwind CSS support plugin CSS classes completions for @apply + Go to declaration.

- theme() function parameters completion.

- CSS, LESS, SCSS and PostCSS languages support.

## Keybindings

I used to use [Sublime Text](https://www.sublimetext.com/) (I still do for smaller tasks) I love their keybindings so first I ensure I have Sublime Text installed and then select the pre-installed Sublime Text macOS keybindings, I then duplicate this and give it a name DC so I know this is my custom keybindings.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1695195789247/2350a73e-890a-4133-94b2-ee7f42722cf3.png)

Click the image to see a PDF of all my keybindings:

[![](https://cdn.hashnode.com/res/hashnode/image/upload/v1695196217920/b86f1d14-366d-4ff0-9a8e-9ecaf1ec0d01.png)](https://github.com/dcblogdev/phpstorm-keybindings/blob/main/PhpStorm-DC-keymap.pdf)