Autoloader PSR-4

Hello everybody,

it is allowed to use Autoloader PSR-4 in our theme or wordpress plugins? or it is not acceptable to Envato?

I would appreciate your answers.


Hi @Alex2022,

Yes, you absolutely can use autoloaders (and even composer if you’d like) in your plugins and themes. I would suggest that you make sure your own autoloaded class and function names are very unique to avoid potential conflicts with other plugins that use autoloaders.


1 Like