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.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-10-16 17:16:28 +02:00
.bp-config Upgraded Lumen Framework to v5.7 2019-12-09 00:45:10 +01:00
app Upgraded Lumen Framework to v5.7 2019-12-09 00:45:10 +01:00
bootstrap Upgraded Lumen Framework to v5.7 2019-12-09 00:45:10 +01:00
config reset to start tut 2016-05-27 08:52:12 +02:00
database inital commit - install lumen 2016-04-14 16:27:49 +02:00
public inital commit - install lumen 2016-04-14 16:27:49 +02:00
resources/views inital commit - install lumen 2016-04-14 16:27:49 +02:00
routes Upgraded Lumen Framework to v5.7 2019-12-09 00:45:10 +01:00
storage inital commit - install lumen 2016-04-14 16:27:49 +02:00
tests inital commit - install lumen 2016-04-14 16:27:49 +02:00
.env.example inital commit - install lumen 2016-04-14 16:27:49 +02:00
.gitignore inital commit - install lumen 2016-04-14 16:27:49 +02:00
artisan inital commit - install lumen 2016-04-14 16:27:49 +02:00
CODE_OF_CONDUCT.md Compliance bulk update. Add CODE_OF_CONDUCT.md 2024-10-16 17:16:28 +02:00
composer.json Upgraded Lumen Framework to v5.7 2019-12-09 00:45:10 +01:00
composer.lock Bump symfony/http-foundation from 4.4.1 to 4.4.7 2020-03-31 01:01:46 +00:00
CONTRIBUTING.md Compliance bulk update. Add CONTRIBUTING.md 2024-10-16 17:16:27 +02:00
LICENSE Add license file 2017-05-29 11:00:25 +02:00
phpunit.xml inital commit - install lumen 2016-04-14 16:27:49 +02:00
README.md Push with lower memory limit 2017-05-16 12:20:30 +02:00

CF Sample App PHP

A sample Lumen application to deploy to Cloud Foundry which works out of the box.

Run locally

  1. Install PHP
  2. Install Composer globally on your machine
  3. Run composer install
  4. Run php -S localhost:3000 -t public
  5. Visit http://localhost:3000

Run in the cloud

  1. Install the cf CLI
  2. Run cf push my-php-app -m 128M --random-route
  3. Visit the given URL