Git Product home page Git Product logo

jomposer's Introduction

jomposer

npm npm node dependencies Status

๐ŸŽง Talk to composer via npm

Jomposer will install Composer automatically. Run Composer via npm script jomposer, so that you can use npm to run Composer easily.

Requirements

The php executable must be available in PATH.

Usage

Install

  • Run npm i -g jomposer to install it as a global cli

  • Run npm i -D jomposer to install it as devDependencies

Configuration

  • Add jomposer to package.json in your project.
 "scripts": {
+  "jomposer": "jomposer",
   "test": "echo \"Error: no test specified\" && exit 1"
 },

Run Composer

  • Run npm run jomposer -- -v to see version.
โžœ npm run jomposer -- -v

> [email protected] jomposer ***
> jomposer -v

   ______
  / ____/___  ____ ___  ____  ____  ________  _____
 / /   / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__  )  __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
                    /_/
Composer version 1.5.1 2017-08-09 16:07:22

Usage:
  command [options] [arguments]
  ...
  • Run npm run jomposer -- require monolog/monolog to install php package.
โžœ npm run jomposer -- require monolog/monolog

> [email protected] jomposer ***
> jomposer "require" "monolog/monolog"
...

jomposer's People

Contributors

dependabot[bot] avatar runrioter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.