formarkets.blogg.se

How to make xenforo 2 addons
How to make xenforo 2 addons











how to make xenforo 2 addons

Note that there are some caveats here - dependency management can be complex, and it is entirely possible for you to introduce unexpected bugs in your addon, other addons, or even in the XenForo core by following this tutorial and including composer packages. This tutorial describes the process to do so and how to build your addons which utilise composer. In XenForo 2.0, we had to use extension points to do our own autoloading - but as of XenForo 2.1, the core software makes it really easy for us to include Composer packages. As addon developers, we can include Composer packages in our own addons which will be autoloaded alongside those provided by the core. XenForo v2 uses Composer behind the scenes to include certain packages used by the core software. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you. Composer is a tool for dependency management in PHP.













How to make xenforo 2 addons