Back Button Tooling
Be Awesome in PHPStorm

Be Awesome in PHPStorm

Think about how many hours each week you spend within your editor. Doesn't it make sense to unlock every inch of its capabilities? I certainly subscribe to that idea! Why don't you come along, and I'll teach you everything I know about PHPStorm.

Beginner
27 episodes
1h 30m
27
Latest Episode in This Series

Added 2 years ago

Better Search Results With Custom Scopes

PHPStorm scopes allow you to specify a particular subset of files for various operations, such as "Find...

Watch
Be Awesome in PHPStorm

Be Awesome in PHPStorm

Think about how many hours each week you spend within your editor. Doesn't it make sense to unlock every inch of its capabilities? I certainly subscribe to that idea! Why don't you come along, and I'll teach you everything I know about PHPStorm.

Begin
27
Latest Episode in This Series

Added 2 years ago

Better Search Results With Custom Scopes

PHPStorm scopes allow you to specify a particular subset of files for various operations, such as "Find...
Watch

Your Teacher | Jeffrey Way

https://laracasts.s3.amazonaws.com/avatars/jeffrey-avatar.jpg's avatar
Hi, I'm Jeffrey. I'm the creator of Laracasts and spend most of my days building the site and thinking of new ways to teach confusing concepts. I live in Orlando, Florida with my wife and two kids.
  1. Section 1 Aesthetics

    1. Free Episode Run Time 32

      Are you ready for the obligatory series introduction video? :)

    2. Free Episode Run Time 7:14

      You may enjoy the visual bulk of an IDE. Personally, though, I quite like the minimalism that you get out of the box from, say, Sublime Text. Luckily, because every inch of PHPStorm is configurable, we can clean things up drastically!

    3. Free Episode Run Time 34

      Right now, our sidebar is a completely different color from our color theme. It looks terrible! Let's fix that.

  2. Section 2 We Need Speed

    1. Free Episode Run Time 4:27

      In this episode, we'll review the two most important commands in PHPStorm, while preparing better keybindings for them.

    2. Free Episode Run Time 1:26

      When you need to create a file, do you open the sidebar, toggle a number of folder trees, right-click, and then choose "New File"? That's so much work! Instead, let me demonstrate how to use the floating directory tree for these sorts of tasks.

    3. Free Episode Run Time 2:23

      Maybe it would be nice if, when you create a new PHP file, there would be an option to select that it should be an Eloquent model (or any type, really). Is that possible? Yes! We can use file templates to allow for this.

    4. Free Episode Run Time 6:11

      Anything that can be automated...should be automated! This includes the creation of common code fragments. In this lesson, I'll demonstrate PHPStorm's live templates, as we create a helper template for rapidly preparing form groups.

    5. Free Episode Run Time 4:23

      One area where an IDE truly excels is when it comes to automatic code formatting. Even better, like everything else in PHPStorm, every ounce of that formatting is configurable!

  3. Section 3 Refactoring

    1. Free Episode Run Time 4:20

      Let's move on to a study of PHPStorm's refactoring capabilities. We'll begin with the essentials, by reviewing "refactor name" and "refactor method."

    2. Free Episode Run Time 2:31

      Many times, you'll find that you want to extract a bit of code into a parent class. Wait! Don't touch that mouse. I'll show you an easier way to accomplish this common task.

    3. Free Episode Run Time 2:23

      For the instances when you want to take an existing class and extract an interface from it, PHPStorm has you covered!

    4. The basic rule is that anything which can be automated...should be automated! When you need to inline an existing variable or extract a new one, PHPStorm has you covered.

  4. Section 4 Faster, Faster

    1. Free Episode Run Time 3:20

      When you add dependencies to your classes, do you find yourself manually typing those assignments? Once again, let's automate this stuff!

    2. Free Episode Run Time 1:11

      You know how we can quickly navigate to PHP symbols? Well, the same is true for CSS and Sass! If you've ever found yourself browsing through Sass partials, hunting down a particular class declaration, well: you'll never have to do that again!

    3. Free Episode Run Time 2:05

      Did you install PHPStorm, and notice that it applies a "warning" squiggly to all facades? Did you also notice that there's no autocompletion support? Hmm...that stinks; but, luckily, there's an easy fix!

    4. Free Episode Run Time 2:33

      If you're switching to PHPStorm from Sublime Text, then you're likely missing its support for multiple cursors. Don't worry; PHPStorm has it, too! The keybindings are different, but, naturally, that's configurable - like everything.

    5. Free Episode Run Time 2:22

      Countless Vim and Sublime Text users depend upon splits to speed up their workflow. Don't worry; PHPStorm offers them, too! Let's setup a good system for making use of them.

    6. Free Episode Run Time 4:11

      If you're coming to PHPStorm from Vim, then it's likely that all of those countless keybindings are engrained into your fingers. Don't worry; you can still use that muscle memory in PHPStorm! Even better, you can translate much of your .vimrc file over as well (though not everything).

  5. Section 5 Debugging

    1. Free Episode Run Time 10:25

      Sure, using var_dump to debug your code is quick and useful. However, is it possible that there's a better, more efficient way to go about debugging your applications? Let's talk about Xdebug and PHPStorm for a bit.

    2. Free Episode Run Time 3:23

      Now that you understand how to go about debugging a single PHP script, what might the process of debugging a typical Laravel application look like?

  6. Section 6 Advanced Usage

    1. Free Episode Run Time 2:06

      While you can certainly install Composer dependencies through the terminal, if you prefer, you could also accomplish the same task from within PHPStorm. Let me show you how.

    2. Free Episode Run Time 3:35

      Though you can certainly continue to do all of your testing from the command line (which I typically do), you also have the option of testing directly within the IDE. Let me show you .

    3. Free Episode Run Time 4:26

      Often, it can be useful to measure code coverage. Or, in another words, how much of this particular class is covered under tests? PHPStorm makes this process a cinch!

    4. The truth is that, in my day-to-day workflow, I use both PHPStorm and Sublime Text. ...Now why would I do that? Let me explain.

    5. Free Episode Run Time 1:11

      PHPStorm supports automatic PSR-4 namespacing for new classes. Let me show how a few seconds will save you a great deal of time, over the course of a year.

    6. In this episode, I'll demonstrate how to apply PHP Code Sniffer inspections, along with the popular PHP-CS-Fixer formatting in PHPStorm. The key, as you'll find, is within the "Settings -Tools - External Tools" section. I'll demonstrate you each step, so get ready to work along.

    7. PHPStorm scopes allow you to specify a particular subset of files for various operations, such as "Find in Path" and code inspections. Have you ever searched for a keyword, only to see countless results from irrelevant files at the top of the results? If so, you can very easily limit your searches to a custom scope. I'll show you how in this lesson.