-
Book Overview & Buying
-
Table Of Contents
Persistence in PHP with Doctrine ORM
By :
As with most modern PHP libraries, Doctrine is available through Composer, a powerful dependency manager. A PEAR channel is also available.
For more information on Composer and Pear packages, please refer to the respective links as follows: http://getcomposer.org and http://pear.doctrine-project.org
The following steps should be performed to install Composer:
The first step to install Doctrine ORM is to grab a copy of the latest Composer version.
Open your preferred terminal, go to the blog/ directory (the root of our project), and type the following command to install Composer:
curl -sS https://getcomposer.org/installer | php
A new file called composer.phar has been downloaded in the directory. This is a self-contained archive of Composer.
Now type the following command:
php composer.phar
If everything is OK, all available commands are listed. Your Composer installation is up and running!
Change the font size
Change margin width
Change background colour