Example of PHP app using composer dependency manager.
Pull request Compare This branch is even with marcingrzejszczak:sc-pipelines.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.bp-config
app
bootstrap
database
public
resources/views
routes
storage
tests
.env.example
.gitattributes
.gitignore
.htaccess
artisan
composer.json
composer.lock
manifest.yml
phpunit.xml
readme.md

readme.md

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