课程: Linux for PHP Developers

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Installing Symfony

Installing Symfony

- [Instructor] Symfony is an open-source PHP web application framework available from Symfony.com. Symfony's individual components can be reused as a standalone projects and it's modularity gives it back. For example, Symfony components are part of Drupal 8. To learn more about Symfony, check out Learning Symfony 3 with Bernard Pineda her in the online training library. Symfony uses Composer to manage its components. It also includes an optional installer that honestly, we've already got Composer. Let's install Symfony using Composer. Switch to the terminal, then change directory to slash media slash SF underscore sandbox. We're going to use Composer to create dash project named Symfony slash framework dash standard dash addition. And we'll put it in the Symfony folder. Composer will prompt us for some parameters as it generates the configuration. The first is the database host while the IP will work local hosts is the best practice. Press Enter to continue. For the database port…

内容