GithubHelp home page GithubHelp logo

linuxforphp / linuxforcomposer Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 2.0 24.76 MB

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

Home Page: https://linuxforphp.net

License: Apache License 2.0

PHP 99.58% Shell 0.20% Batchfile 0.22%

linuxforcomposer's Introduction

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.

codecov 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

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 following command to run the Linux for PHP containers that you have configured in the JSON file.

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

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 and using Linux for Composer, please visit this page:

https://linuxforphp.net/documentation

Have a lot of fun! :)

PLEASE NOTE: As long as you have Docker, Composer, Git and cURL 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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.