Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

add autoload section to composer.json #6

Closed
wants to merge 1 commit into from

2 participants

@koriym
Collaborator

It enable to generate proper autoload file. (vendor/.composer/autoload_namespaces.php )

@harikt
Collaborator

@koriym Thank you for the pull request . But we are no longer creating the json manually .
The json is been created by release, so we want to make a patch at https://github.com/auraphp/release/blob/master/package.php#L384 .

@harikt harikt closed this
@harikt
Collaborator

@pmjones any other thoughts on this ?

@koriym
Collaborator

@harikt Ok, I see.

I leave the info here for other users who want to use Aura.Di standalone with composer install and /vendor/.composer/autoload.php.

"autoload": {
    "psr-0": {
        "Aura\\Di": "vendor/Aura/Di/src/"
    }
}
@harikt
Collaborator
@koriym
Collaborator

I will do it.
Keep up the good work. Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 8, 2012
  1. @koriym

    add autoload section.

    koriym authored
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 0 deletions.
  1. +3 −0  composer.json
View
3  composer.json
@@ -20,5 +20,8 @@
],
"require": {
"php": ">=5.4.0"
+ },
+ "autoload": {
+ "psr-0": { "Aura\\Di": "src/" }
}
}
Something went wrong with that request. Please try again.