2

Thanks to @Zollie-- the plugin is enabled by default and does seem to work. You'd need to check the libraries/autoload_psr4.php to verify that your component's namespace (set in the new namespace parameter in the manifest xml) is being generated correctly. The default namespace format for custom components is DeveloperName\Component\ComponentName.


1

The above method is 100% correct and working. My own code, where I had my_custom_namespace had a typo - I was setting myNamespace and trying - and obviously failing - to get MyNamespace :Faceplam:


1

I found the answer finaly i greated an example on github for who is intrested: https://github.com/basd82/joomla_libarary


Only top voted, non community-wiki answers of a minimum length are eligible