Skip to content

Latest commit

 

History

History
30 lines (14 loc) · 773 Bytes

README.md

File metadata and controls

30 lines (14 loc) · 773 Bytes

Magento-PSR-0-Autoloader

This Extension adds a PSR-0 Autoloader before the Magento Autoloader

To initialize a new namespace, insert following code in the <global/>-node of local.xml:

<psr0_namespaces>
    <NewNamespace />
</psr0_namespaces>

Magento Composer Autoloader

You can also use this Extension to add the composer Autoloader.

You need to configure the Path to your Vendor directory in your <global/>-node of local.xml:

<composer_vendor_path><![CDATA[{{root_dir}}/vendor]]></composer_vendor_path>

disable the default magento autoloader

To disable the default magento autoloader, insert following code in the <global/>-node of local.xml:

<base_autoloader_disable>1</base_autoloader_disable>