Skip to content
Composer package that helps to easily configure and run Linux for PHP containers for any PHP project.
PHP Other
  1. PHP 99.4%
  2. Other 0.6%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
build
data
docs-api
docs
src
tests/unit
.gitattributes
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
app.php
composer.json
composer.json.dev
composer.lock
composer.phar
linuxforcomposer.json
phpcs.xml
phpdoc.xml
phpunit.xml.dist

README.md

Linux for PHP Banner

Linux for Composer

https://linuxforphp.net

Composer package that helps to easily configure and run Linux for PHP containers for any PHP project.

Build Status Coverage Status Documentation Status PDS Skeleton

To install this library, please enter the following command:

composer require linuxforphp/linuxforcomposer

Once the dependencies are installed, you can create the linuxforcomposer.json file using:

php vendor/bin/linuxforcomposer.phar docker:run start

NOTE: On Windows, please use the Linux for Composer PHAR file in the 'vendor/linuxforphp/linuxforcomposer/bin' folder.

Then, you only have to enter the previous command again to run the Linux for PHP containers that you have configured in the JSON file.

If you wish to install the Linux for Composer binary for your entire system, please copy the PHAR file to a folder included in your PATH:

cp vendor/linuxforphp/linuxforcomposer/bin/linuxforcomposer.phar /usr/local/bin/linuxforcomposer

You will then be able to invoke the binary directly:

cd /folder/of/my/favorite/project
linuxforcomposer docker:run start

For more information on configuring Linux for Composer, please visit this page:

https://linuxforphp.net/composer-integration

Have a lot of fun! :)

PLEASE NOTE: As long as you have Docker installed on your computer, this library should work fine. If on Windows, make sure you are using the linuxforcomposer.phar file contained in the 'vendor/linuxforphp/linuxforcomposer/bin' folder. Enjoy!

You can’t perform that action at this time.