Skip to content

Cotya/Magento-Autoloader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%