Currently seeking new career opportunities in web development, particularly with Laravel, Hire Me

My PhpStorm Setup

David Carr

Tools

Table of Contents

I've documented my PhpStorm setup, what theme I use, plugins, and keybindings.

Theme

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

Phpstorm - new UI theme

Once turned on I use the Light Theme:

PhpStorm - appearance

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

Distraction free mode

Phpstorm - Editor

Plugins

.env file 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 (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

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

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

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 (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

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

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 (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.

PhpStorm - KeyMap

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

Key Bindings

 

Laravel Modules Your Logo Your Logo Your Logo

Become a sponsor

Help support the blog so that I can continue creating new content!

Sponsor

My Latest Book

Modular Laravel Book - Laravel: The Modular way

Learn how to build modular applications with Laravel Find out more

Subscribe to my newsletter

Subscribe and get my books and product announcements.

Learn Laravel with Laracasts

Faster Laravel Hosting

© 2006 - 2024 DC Blog. All code MIT license. All rights reserved.