Developer Blog

  • Blog
  • /
  • Installing PHPixie with a single line
By Dracony on 18 September 2013

PHPixie skeleton project can now be installed using a single command (well almost).
All you need is to get composer:

1
php -r "eval('?>'.file_get_contents('http://getcomposer.org/installer'));"

And then run the following line to create a project for you:

1
php composer.phar create-project phpixie/project . 2.*-dev --prefer-dist

This will create a phpixie project in your current directory.

You should also update the autoloader to optimize class loading:

1
php composer.phar update -o

Running the above command will also optimize autoloading of your custom classes too, so it might be usefull to run it once more before deploying your website.

comments powered by Disqus