Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ryanj/silex-base
- Owner: ryanj
- Created: 2014-03-06T20:04:04.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-06-01T05:52:43.000Z (over 6 years ago)
- Last Synced: 2024-10-11T00:12:05.886Z (about 1 month ago)
- Language: PHP
- Homepage: https://silex-h0st.rhcloud.com
- Size: 794 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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/)