[2/4] Symfony 3 Contact Form - Beginner Friendly Symfony 3

preview_player
Показать описание
This series is all about getting started as a complete beginner to the Symfony Framework. One of the hurdles that used to exist in getting started was in getting the framework code downloaded onto your local machine. You would need to download a zipped tarball file, extract it, and then run an installer script.

It was only with Symfony 2.1 onwards that Composer became a 'thing'. Yep, imagine that - using a framework like Symfony without a modern day package manager. Actually, Composer came about as a result of wanting a standard way to manage pulling in third party code (the famed Symfony bundles - which you may have heard about) into existing Symfony projects. Kinda crazy, right?

Anyway, fast-forward to today, and we don't need to worry about any of that, as Symfony has its own installer.

To follow along, [you will need to install the installer][1] :) Fortunately, it's copy / paste.

I'm going to assume you have followed the official guide and have the installer available on your local development machine. Note here that you only need the installer on your development machine - not on a production server / your real web server.

To get started then, I would head to a central directory on my computer where I store all my code projects. In my case, this is the `/home/chris/Development` directory. The `home` directory of the current user is often shortened to a `~`, so `/home/chris/Development` and `~/Development` are one and the same.
Рекомендации по теме