/cf-php-example

Example of PHP app using composer dependency manager.

Primary LanguagePHPApache License 2.0Apache-2.0

cf-php-example is no longer actively maintained by VMware, Inc.

Example PHP app using Lumen Framework

Installation

This example use Composer most common dependency manager for PHP. All builds should use composer for all necessary stuff like downloading configuration, run test or DB migration. You can do it easly using composer scripts.

Simply run:

composer install

To run tests one from below, run:

test-e2e
test-smoke
test-apicompatibility

Those are predefined for cloudfoundry purposes. If you use other names, you must map them so that they fit predefined ones.

License

The Lumen Framework is open-sourced software licensed under the MIT license