2017 © Pedro Peláez
 

composer-plugin autoregister-classmap-plugin

Plugin composer to register external source code as PSR4.

image

chris13/autoregister-classmap-plugin

Plugin composer to register external source code as PSR4.

  • Tuesday, March 1, 2016
  • by chris13
  • Repository
  • 1 Watchers
  • 0 Stars
  • 216 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

This composer plugin allow to register external source code in the autoload of composer from your project, (*1)

Installation

Step 1: Enable the Plugin

Before downloading it you need to update your composer.json file with the following:, (*2)

"extra":
    "chris-autoregister-classmap": {
        "path" : "path/to/modules",
        "filename" : ".module.yml"
    }
}

Path : Directory where you store all your external source code (module), (*3)

Filename : The file where you have the namespace and the source directory of your module (it can be a hidden file or not), (*4)

Step 2: Download the Plugin

Open a command console, enter your project directory and execute the following command to download the latest stable version of this plugin:, (*5)

$ composer require chris13/autoregister-classmap-plugin "~1"

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation., (*6)

Usage

In each external source code (module) directory that you want registered, you need to a YML file containing the namespace and the source directory of your bundle., (*7)

namespace: "App\\Module\\Bundle\\ExampleBundle\\"
source_dir: "src/"

Example, (*8)

Tests

Run Test in the plugin :, (*9)

$ phpunit --debug --testsuite All

The Versions

01/03 2016

dev-master

9999999-dev

Plugin composer to register external source code as PSR4.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Christophe Chausseray

composer autoregister classmap

01/03 2016

1.2.1

1.2.1.0

Plugin composer to register external source code as PSR4.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Christophe Chausseray

composer autoregister classmap

01/03 2016

1.2.0

1.2.0.0

Plugin composer to register external source code as PSR4.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Christophe Chausseray

composer autoregister classmap

02/02 2016

1.1.2

1.1.2.0

Plugin composer to register external source code as PSR4.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Christophe Chausseray

composer autoregister classmap

01/02 2016

1.1.1

1.1.1.0

Plugin composer to register external source code as PSR4.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Christophe Chausseray

composer autoregister classmap

01/02 2016

1.1.0

1.1.0.0

Plugin composer to register external source code as PSR4.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Christophe Chausseray

composer autoregister classmap

27/01 2016

1.0.0

1.0.0.0

Plugin composer to register external source code as PSR4.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Christophe Chausseray

composer autoregister classmap

27/01 2016

0.0.4

0.0.4.0

Plugin composer to register external source code as PSR4.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Christophe Chausseray

composer autoregister classmap

27/01 2016

0.0.3

0.0.3.0

Plugin composer to register external source code as PSR4.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Christophe Chausseray

composer autoregister classmap

27/01 2016

0.0.2

0.0.2.0

Plugin composer to register external source code as PSR4.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Christophe Chausseray

composer autoregister classmap

26/01 2016

0.0.1

0.0.1.0

Plugin composer to register external source code as PSR4.

  Sources   Download

proprietary

The Requires

  • php >=5.3
  • composer-plugin-api ^1.0

 

The Development Requires

by Christophe Chausseray

composer autoregister classmap