One of the great advantages of an IDE over a text editor is the ability to easily run a debugger. In this lesson you'll learn how to configure PhpStorm to use XDebug. We'll walk through getting XDebug set up, and then how to debug, including setting breakpoints.
Note: From the menu bar, PhpStorm > Preferences > PHP > Debug will apply settings to the current project as described in the video.
Additional resources
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
Once you have a debugger (like XDebug) set up on your system, you can use PhpStorm to run a web application and attach and detach the debugger at will. This tutorial will walk you through how to work with the debugger using the toolbar and bookmarklets.
Additional resources
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
PhpStorm also provides tools for debugging your JavaScript using a Chrome or Firefox extension with the IDE. This lesson shows how to set your breakpoints and walks you through the client-side debug process.
Additional resources
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
Profiling allows you to gather program execution statistics, like the number of functions, or how long a function takes to run. In this tutorial we walk through profiling with XDebug in PhpStorm.
Additional resources
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
Vagrant is a tool to create virtual machines that you can even share with others. In this tutorial you will learn how to create a new project that uses a Vagrant box and how mange it through PhpStorm. To learn more about Vagrant and how to set it up, watch the Introduction to Vagrant series.
Additional resources
Introduction to Vagrant series
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
When working with REST in your code, you can use PhpStorm's built-in REST Client to help you track and test your API code.
Additional resources
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
PhpStorm Plugins
FreeYou can extend PhpStorm's functionality with plugins. Adding plugins that enable vim integration, tools for working in NodeJS projects, or plugins that enable code completion and syntax highlighting for specific languages is as simple as searching for the package and clicking an install button. In this tutorial, you will review the plugins that already comes bundled with PhpStorm, as well as how to find and add new plugins for new features.
Additional resources
PhpStorm Plugin Library
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
In this lesson, you'll learn how to generate URLs in Symfony 3 and use Twig's path()
function to output HTML links based on the name of the route.
Additional resources
In this lesson, you'll learn how to integrate ReactJS into the Twig templates of your Symfony 3 app. You will learn how to include page-specific JavaScript assets, include the ReactJS code, direct ReactJS to use the API you've built in your Symfony app, and generate URLs for dynamic JavaScript assets. With this lesson complete, you will have completed building a rich HTML page and an API endpoint to fuel some sweet JavaScript using Symfony 3.
Ready for more Symfony 3? Check out Symfony 3 Fundamentals: Bundles, Configuration and Environments next!
Additional resources
Bundles in Symfony 3
FreeIn this lesson, you'll learn more about the fundamentals of Symfony 3 and how to get access to more services for your app through installing bundles. If you haven't built your first app in Symfony 3 yet, head over to Joyful Development with Symfony to get up and running, then head back to this series and continue your Symfony 3 journey!
In this lesson, you'll learn how to use the new service that you installed through a bundle in the previous lesson.
In this lesson you'll learn how to configure and control how services from a bundle behave.
Additional resources
In this lesson you'll learn how to add a cache service to your Symfony 3 app.
In this lesson you'll learn how to further configure DoctrineCacheBundle in your Symfony 3 app.
In this lesson you'll learn about how you can set up configuration for your app depending on the environment—development, production or whatever else you might have.
Additional resources
In this lesson we'll continue to explore the configuration files for our "dev" and "prod" environments.
Additional resources
In this lesson you'll learn how to configure settings for specific environments. Here we'll disable caching for the dev environment, so that caching is enabled only for the prod environment.
Additional resources
In this lesson you'll learn about some special variables called parameters that are available in configuration files for Symfony. We'll explore already existing parameters as well as learn how to create a new parameter.
Additional resources
In this lesson you'll learn how to use the extra special parameters baked right into Symfony. These particular parameters can be super useful, so let's dive right in and learn all about special parameters in Symfony.
In this lesson you'll learn how to master route configuration loading and load the routes you want from certain bundles.
Ready for more Symfony 3? Check out the next series: Symfony 3: Level up with Services and the Container.