Tasks
- Play with given View of Symfony
- Create New Controller
- Call Nasa API
- Save data in Mongo via Doctrine
- Run TDD
- Create Command
Before you can start, you should prepare your development environment.
Using Symfony with Homestead/Vagrant
In order to develop a Symfony application, you might want to use a virtual development environment instead of the built-in server or WAMP/LAMP. Homestead is an easy-to-use Vagrant box to get a virtual environment up and running quickly.
Before you can use Homestead, you need to install and configure Vagrant and Homestead as explained in the Homestead documentation.
Resources:
**Or, Install required php packages and configure apache **
This requires:
- an php capable IDE (we suggest PhpStorm with symfony, yaml, twig and php annotations plugin)
- working setup of PHP 5.6 (http://symfony.com/doc/current/reference/requirements.html)
- composer (https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx)
- mongoDB (https://docs.mongodb.com/manual/installation/)
- nginx or alternative simple web server
Help: PHP 5.6+ (debian/ubuntu)
sudo apt-get install -qq php5-cli php5-fpm php5-mysqlnd php5-curl php5-gd php5-json php5-redis php5-imap php5-intl php5-imagick php5-mcrypt php5-xdebug php5-xmlrpc php5-xsl php5-twig php5-mongo php5-dev
Help: (optional) PECL MongoDB library (debian/ubuntu)
sudo apt-get install pkg-config libssl-dev && sudo pecl update-channels && sudo pecl install mongodb