mirror of
https://github.com/swisscom/cf-sample-app-php.git
synced 2026-12-04 12:48:46 +00:00
A sample Lumen application to deploy to Cloud Foundry which works out of the box. | Read-only mirror of https://github.com/swisscom/cf-sample-app-php — Swisscom. Issues & pull requests at the source.
- PHP 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .bp-config | ||
| app | ||
| bootstrap | ||
| config | ||
| database | ||
| public | ||
| resources/views | ||
| routes | ||
| storage | ||
| tests | ||
| .env.example | ||
| .gitignore | ||
| artisan | ||
| CODE_OF_CONDUCT.md | ||
| composer.json | ||
| composer.lock | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| phpunit.xml | ||
| README.md | ||
CF Sample App PHP
A sample Lumen application to deploy to Cloud Foundry which works out of the box.
Run locally
- Install PHP
- Install Composer globally on your machine
- Run
composer install - Run
php -S localhost:3000 -t public - Visit http://localhost:3000
Run in the cloud
- Install the cf CLI
- Run
cf push my-php-app -m 128M --random-route - Visit the given URL