Code Monkey home page Code Monkey logo

component-installer's Introduction

Component Installer for Zend Framework 3 Applications

This repository contains the class Zend\ComponentInstaller\ComponentInstaller, which provides Composer event hooks for the events:

  • post-package-install
  • post-package-uninstall

In order to utilize these, you will need to add the ComponentInstaller classfile to your project, make it autoloadable, and then add its relevant static methods as scripts for the above events.

This package provides two ways for doing that: as a global composer utility, or via a downloadable, self-updateable PHAR.

Via Composer Global Install

To install the utility via Composer:

$ composer global require zendframework/zend-component-installer

Once installed, assuming that the Composer bin/ directory is on your $PATH, you can then execute the following:

$ zend-component-installer install <path>

where <path> is the path to a project in which you want to install the component installer tools. If <path> is omitted, the utility assumes the current working directory should be used.

Note: Composer installation not yet supported!

The above is a planned feature, but does not work currently, as the package is not yet registered with Packagist.

Via PHAR

The PHAR file is downloadable at:

The public key for verifying the package is at:

You will need to download both files, to the same directory, for the utility to work; additionally, the name of the key must not be changed.. Once downloaded, make the the PHAR file executable.

Once installed, you can then execute the following:

$ zend-component-installer.phar install <path>

where <path> is the path to a project in which you want to install the component installer tools. If <path> is omitted, the utility assumes the current working directory should be used.

The PHAR file is self-updateable via the self-update command; this feature requires PHP 5.6, however, due to SSL/TLS negotiation requirements.

component-installer's People

Contributors

weierophinney avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.