Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An example PHP / Silex app containing MongoDB spatial queries and National Parks data
PHP HTML CSS Shell ApacheConf
Branch: master
Pull request Compare This branch is even with ryanj:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.openshift
static
vendor
.htaccess
.travis.yml
README.md
app.php
bootstrap.php
composer.json
composer.lock
composer.phar
parkcoord.json

README.md

Map of US National Parks

powered by Silex, PHP, MongoDB, and Leaflet maps

Build Status Deploy

Parks example image

OpenShift Hosting

LAUNCH ON OpenShift

To deploy a clone of this application using the rhc command line tool:

rhc app create parks php-5.4 mongodb-2 --from-code=https://github.com/openshift-quickstart/silex-mongodb-parks.git

Or link to a web-based clone+deploy on OpenShift Online or on your own OpenShift cloud:

https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=php-5.4&cartridges%5B%5D=mongodb-2&initial_git_url=https%3A%2F%2Fgithub.com%2Fopenshift-quickstart%2Fsilex-mongodb-parks.git

A demo is available at: http://phparks-shifter.rhcloud.com/

Local Development

Fire up your own local development server with php-5.4 or better:

php -S localhost:8080 -t static app.php 

License

This code is dedicated to the public domain to the maximum extent permitted by applicable law, pursuant to CC0 (http://creativecommons.org/publicdomain/zero/1.0/)

Something went wrong with that request. Please try again.