vitorbrandao / skeletonapp

The PPI Skeleton Application

Home Page:http://www.ppi.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

What is PPI ?

PPI is the the PHP Interoperability Framework. It provides an equal and open platform to empower PHP developers to pick the best tools from the best PHP frameworks

PPI bootstraps framework components for you from the top frameworks such as ZendFrameworks2, Symfony2, Laravel4, FuelPHP, Doctrine2

Installation

Linux

Just ensure you have Docker installed and run the following commands:

docker run -p 3306:3306 --name mysql -e MYSQL_ROOT_PASSWORD=ppi mysql
docker build -t ppi .
docker run -p 80:80 -v `pwd`:/var/www --link mysql ppi
docker logs -f ppi

Now you can now browse to your ppi application at http://192.168.66.66

OSX

Just ensure you have Vagrant installed and run:

vagrant up && vagrant ssh -c "docker logs -f ppi"

Now you can now browse to your ppi application at http://192.168.66.66

Rolling your own

Drop this skeleton app into your document root somewhere. You need to run the composer library to obtain the vendor dependencies that PPI requires.

curl -s http://getcomposer.org/installer | php
php composer.phar install

Ideally you'll want to set up a vhost on your httpd web server to point your domain to the /public/ folder of your PPI skeleton app, but for now you're still able to browse to http://localhost/skeletonapp/public/

Documentation

We have began documenting ppi2, you can see how far we've gotten at http://www.ppi.io/docs

Contributing

Fork the repo, push your changes to your fork, and submit a pull request.

Requirements

  • PHP 5.3.10+ - We recommend PHP 5.4 or even better PHP 5.5

About

The PPI Skeleton Application

http://www.ppi.io


Languages

Language:PHP 77.0%Language:JavaScript 21.0%Language:CSS 1.3%Language:ApacheConf 0.7%Language:Shell 0.0%Language:HTML 0.0%