Skip to content

dzhai/php-getting-started

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 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 supports 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:

Releases

No releases published

Packages

No packages published

Languages

  • PHP 38.8%
  • JavaScript 31.1%
  • Python 29.8%
  • ApacheConf 0.3%