Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ryanj/silex-base

A basic PHP+Silex demo app for building easy APIs and serving static content
https://github.com/ryanj/silex-base

Last synced: 13 days ago
JSON representation

A basic PHP+Silex demo app for building easy APIs and serving static content

Awesome Lists containing this project

README

        

# A basic Silex server example
*powered by PHP and Silex*

[![Build Status](http://img.shields.io/travis/ryanj/silex-base.svg)](https://travis-ci.org/ryanj/silex-base) [![Deploy](https://img.shields.io/badge/Launch_on-OpenShift-brightgreen.svg)](https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=php-5&initial_git_url=https%3A%2F%2Fgithub.com%2Fryanj%2Fsilex-base.git&name=silex)

To host this project locally ([PHP-5.4 or better required](http://us3.php.net/manual/en/features.commandline.webserver.php)), run:

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

To spin up a new copy of this application on OpenShift, use the [`oc` command line tool](http://github.com/openshift/origin/releases):

oc new-app php~https://github.com/ryanj/silex-base.git

## 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/)