Skip to content

A very simple example of using Composer with CF.

Notifications You must be signed in to change notification settings

hodnett/cf-ex-composer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudFoundry PHP example application: composer

This is an very basic example application that demonstrates using Composer with the PHP Buildpack.

The application installs some packages using Composer, sets the PHP version and includes some platform extensions. Accessing the application in the browser will just log a statement using one of the included packages. It provides a link to the log (something you would not normally do) so that you can verify it's working.

Usage

Clone the app and push it to CloudFoundry.

git clone https://github.com/cloudfoundry-samples/cf-ex-composer
cd cf-ex-composer
cf push

Access your application URL in the browser.

About

A very simple example of using Composer with CF.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%