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