WEBVTT

NOTE Created by CaptionSync from Automatic Sync Technologies www.automaticsync.com

00:00:01.106 --> 00:00:03.496 align:middle
I've already opened the project in PhpStorm.

00:00:03.686 --> 00:00:07.286 align:middle
It is by far the best editor
for working with Symfony.

00:00:07.666 --> 00:00:09.786 align:middle
And I'm not even getting paid to say this!

00:00:10.116 --> 00:00:15.336 align:middle
Though, if there are any PhpStorm employees
watching, I do accept payment in ice cream.

00:00:16.686 --> 00:00:20.556 align:middle
Anyways, it's awesome, but not
free, but totally worth it.

00:00:20.626 --> 00:00:25.026 align:middle
It has a free trial: so go download
it and follow along with me.

00:00:25.966 --> 00:00:31.216 align:middle
To get really crazy, you'll want to install
the amazing, incredible Symfony plugin.

00:00:32.056 --> 00:00:35.926 align:middle
This thing makes Symfony development
so absurdly fun, I'm going to walk you

00:00:35.926 --> 00:00:37.236 align:middle
through its installation right now.

00:00:37.946 --> 00:00:41.066 align:middle
In Preferences, search for Symfony
and click the plugins option.

00:00:44.986 --> 00:00:49.136 align:middle
From here, click 'Browse Repositories`
and then find the Symfony Plugin.

00:00:49.136 --> 00:00:53.526 align:middle
You'll recognize it as the one
with over 1.3 million downloads.

00:00:53.786 --> 00:00:57.796 align:middle
I already have it installed, but if you
don't, you'll see an Install Plugin button.

00:00:58.276 --> 00:01:00.356 align:middle
Click that and then restart PHPStorm.

00:01:01.746 --> 00:01:05.496 align:middle
Once you're back, go into Preferences
again and search for Symfony

00:01:05.496 --> 00:01:07.506 align:middle
to find the new "Symfony Plugin" item.

00:01:08.906 --> 00:01:13.476 align:middle
To activate the magic, click the "Enable
Plugin for this Project" checkbox.

00:01:13.876 --> 00:01:15.336 align:middle
Do this once per project.

00:01:16.336 --> 00:01:20.976 align:middle
Oh, and also make sure that these
paths say var/cache instead of app.

00:01:27.046 --> 00:01:28.626 align:middle
Ready to code?

00:01:28.976 --> 00:01:34.656 align:middle
Wait! Before we break stuff, let's be good
developers and start a new git repository.

00:01:35.416 --> 00:01:38.926 align:middle
Our terminal is blocked by the built-in
web server, so open up a new tab.

00:01:38.926 --> 00:01:39.976 align:middle
Here, run:

00:01:45.476 --> 00:01:48.356 align:middle
The project already has a
.gitignore file that's setup

00:01:48.356 --> 00:01:52.166 align:middle
to avoid committing anything we don't
want, like the vendor/ directory

00:01:52.356 --> 00:01:54.526 align:middle
and the file that holds database credentials.

00:01:54.916 --> 00:01:55.836 align:middle
Hey, thanks Symfony!

00:01:57.196 --> 00:01:59.286 align:middle
Make the first commit and
give it a clever message...

00:01:59.466 --> 00:02:01.016 align:middle
hopefully, more clever than mine:

