[RSS Feed/News] Add-on composer loader support & development mode

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
With the new caching of composer paths; in development mode if a developer changes packages for an add-on which adds (or removes!) a auto-loader type (namespaces/psr4/classmap/files), then it requires a number of hoop jumping for XF to detect this.

It looks like when updating/removing composer packages; for reliable operation either the addon.json must be updated and then imported via xf-addon:sync or xf-addon:update, or the more heavy-weight xf-addon:rebuild. Which may...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom