If you’re going to be doing PHP development, you should download Laravel. Symfony and Laravel are the
most popular and best frameworks for PHP in the world. To get Laravel on your machine you can follow
the instructions on the quick start page1

. You will need PHP7 with the OpenSSL, PDO, Mbstring, Tokenizer,
and XML PHP. It also requires PHP version 5.6.4 or above enabled. You know how to install those, right?
Awesome. But just in case, on Ubuntu, use the following code.
Install PHP and a Few Dependencies
> sudo add-apt-repository ppa:ondrej/php
> sudo apt-get update
> sudo apt-get install php7.0 php7.0-curl php7.0-mcrypt
Now, to create a new laravel app we simply follow the instructions provided to us on https://laravel.
com/docs/5.3/installation#installing-laravel inside the folder named designpatterns. As you build
out various applications in the book, consult the git branch for each chapter so you git Jedis can trace along.
The next thing you will do is look at Composer. Laravel is built off of about 20 Composer packages;
Composer is the cat’s meow (see Figure 1-1 for important information).

0 comments:

 
Top