Skip to content

mpmedia/php-getting-started

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-getting-started

A barebones PHP app that makes use of the Silex web framework, which can easily be deployed to Heroku.

This application support the Getting Started with PHP on Heroku article - check it out.

Running Locally

Make sure you have PHP, Apache and Composer installed. Also, install the Heroku Toolbelt.

$ git clone [email protected]:heroku/php-getting-started.git # or clone your own fork
$ cd php-getting-started
$ composer update
$ foreman start web

Your app should now be running on localhost:5000.

Deploying to Heroku

$ heroku create
$ git push heroku master
$ heroku open

Documentation

For more information about using PHP on Heroku, see these Dev Center articles: