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: 8 months 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 12 years ago)
- Default Branch: master
- Last Pushed: 2018-06-01T05:52:43.000Z (about 8 years ago)
- Last Synced: 2025-10-11T05:05:35.609Z (8 months ago)
- Language: PHP
- Homepage:
- Size: 794 KB
- Stars: 2
- Watchers: 1
- 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*
[](https://travis-ci.org/ryanj/silex-base) [](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/)