Skip to Content
Mastering Symfony
book

Mastering Symfony

by Sohail Salehi
April 2016
Intermediate to advanced content levelIntermediate to advanced
290 pages
5h 51m
English
Packt Publishing
Content preview from Mastering Symfony

Installing PHP tools

We installed some plugins in our Jenkins, but to make these plugins work, we need to install some PHP tools on our EC2 instance. We can install these tools via Composer on our Symfony project, but this is not a good practice. They will sit in the vendor/ directory and make our Symfony project big and heavy.

Instead, we are going to install them in the CI server itself and benefit from them for every project we define in Jenkins:

  1. Assuming that the SSH connection to our EC2 instance is still live, open a terminal window and add the following PEAR channels to the system:
    $ sudo pear channel-discover pear.pdepend.org
    $ sudo pear channel-discover pear.phpmd.org
    
    $ sudo pear channel-discover pear.phpdoc.org
    
    $ sudo pear channel-discover ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Persistence in PHP with Doctrine ORM

Persistence in PHP with Doctrine ORM

Kevin Dunglas
PHP Web Services

PHP Web Services

Lorna Jane Mitchell
Mastering PHP 7

Mastering PHP 7

Branko Ajzele
PHP 7: Real World Application Development

PHP 7: Real World Application Development

Doug Bierer, Altaf Hussain, Branko Ajzele

Publisher Resources

ISBN: 9781784390310Supplemental Content