Skip to content

Installation

Kyle Spraggs edited this page Jul 26, 2014 · 6 revisions

Installation

Skeleton application

SpiffyApplication is a skeleton that comes setup and ready to run SpiffyFramework. Installing SpiffyApplication, like SpiffyFramework, requires composer. Other installation methods are available but are outside the scope of this document.

  1. Create the project using composer. Note: at the time of this writing alpha is the latest stable version. Once a final release is available you can omit the -s flag.

     composer create-project spiffy/spiffy-application spiffy-application -s [stable|alpha|beta|alpha]
    
  2. Run your application using the built-in php web server.

     cd spiffy-application/public
     php -S 127.0.0.1:8080 index.php
    
  3. Point your browser to http://localhost:8080.

  4. Start coding!

Just the framework

SpiffyFramework can be installed using composer which will setup autoloading for you. Other forms of installation are not officially supported.

composer require spiffy/spiffy-framework