Git Product home page Git Product logo

installers's Introduction

A Multi-Framework Composer Library Installer

Build Status

This is for PHP package authors to require in their composer.json. It will magically install their package to the correct location based on the specified package type.

Current Supported Package Types:

  • CakePHP 2+ cakephp-
  • CodeIgniter codeigniter-
  • Drupal drupal-
  • FuelPHP fuelphp-
  • Joomla joomla-
  • Laravel laravel-
  • Lithium lithium-
  • Magento magento-
  • phpBB phpbb-
  • PPI ppi-
  • Symfony1 symfony1-
  • WordPress wordpress-
  • Zend zend-

Example composer.json File

This is an example for a CakePHP plugin. The only important parts to set in your composer.json file are "type": "cakephp-plugin" which describes what your package is and "require": { "composer/installers": "*" } which tells composer to load the custom installers.

{
    "name": "you/ftp",
    "type": "cakephp-plugin",
    "require": {
        "composer/installers": "*"
    }
}

This would install your package to the app/Plugin/Ftp/ folder of a CakePHP app when a user runs php composer.phar install.

So submit your packages to packagist.org!

Current Supported Types

  • CakePHP
    • cakephp-app
    • cakephp-plugin
    • cakephp-lib
    • cakephp-vendor
    • cakephp-model
    • cakephp-behavior
    • cakephp-controller
    • cakephp-component
    • cakephp-helper
    • cakephp-theme
  • CodeIgniter
    • codeigniter-app
    • codeigniter-library
    • codeigniter-controller
    • codeigniter-third-party
    • codeigniter-model
    • codeigniter-helper
  • Drupal
    • drupal-module
    • drupal-theme
  • FuelPHP
    • fuelphp-app
    • fuelphp-module
  • Joomla
    • joomla-component
    • joomla-module
    • joomla-template
    • joomla-plugin
    • joomla-library
  • Laravel
    • laravel-app
    • laravel-library
  • Lithium
    • lithium-app
    • lithium-library
    • lithium-controller
    • lithium-extension
    • lithium-model
  • Magento
    • magento-library
    • magento-skin
    • magento-theme
  • phpBB
    • phpbb-extension
  • PPI
    • ppi-module
  • symfony1
    • symfony1-plugin
  • WordPress
    • wordpress-plugin
    • wordpress-theme
  • Zend
    • zend-library
    • zend-extra

Contribute!

Please fork and send a pull request against the master branch. Thanks!

This project uses PHPUnit. Use phpunit to run the test suite.

installers's People

Contributors

gromnan avatar seldaek avatar shama avatar

Stargazers

 avatar

Watchers

 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.