https://github.com/phata/phata-website
Official site for Phata
https://github.com/phata/phata-website
Last synced: 5 months ago
JSON representation
Official site for Phata
- Host: GitHub
- URL: https://github.com/phata/phata-website
- Owner: phata
- Created: 2015-06-30T12:03:56.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-30T12:07:39.000Z (about 11 years ago)
- Last Synced: 2023-02-27T12:23:28.345Z (over 3 years ago)
- Language: PHP
- Size: 113 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# php-getting-started
A barebones PHP app that makes use of the [Silex](http://silex.sensiolabs.org/) web framework, which can easily be deployed to Heroku.
This application supports the [Getting Started with PHP on Heroku](https://devcenter.heroku.com/articles/getting-started-with-php) article - check it out.
## Running Locally
Make sure you have PHP, Apache and Composer installed. Also, install the [Heroku Toolbelt](https://toolbelt.heroku.com/).
```sh
$ git clone git@github.com: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](http://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:
- [PHP on Heroku](https://devcenter.heroku.com/categories/php)