Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Jetpack Autoloader Laravel Package

automattic/jetpack-autoloader

Composer autoloader drop-in for WordPress and PHP projects that avoids class conflicts across bundled plugins/themes. Provides a custom autoloader to isolate vendor libraries, improve compatibility, and reduce “cannot redeclare class” errors in complex installs.

View on GitHub
Deep Wiki
Context7
5.0.18

Changed

  • Internal updates.
5.0.17

Changed

  • Internal: No longer require automattic/jetpack-changelogger as a per-project dev dependency. [#48225]
5.0.16

Changed

  • Internal updates.
5.0.15

Changed

  • Internal updates.
5.0.14

Fixed

  • Ensure proper flags are used with json_encode(). [#46092]
5.0.13

Changed

  • Internal updates.
5.0.12

Fixed

  • Tests: Improve compatibility with PHP 8.5. [#45771]
5.0.11

Fixed

  • Tests: Replace deprecated RunClassInSeparateProcess attribute with RunTestsInSeparateProcesses. [#45370]
5.0.10

Changed

  • Internal updates.
5.0.9

Changed

  • Exclude development files from production build of the package. [#44456]
5.0.8

Fixed

  • Autoloader: Prevent double slash in autoloader path. [#44030]
5.0.7

Changed

  • Internal updates.
5.0.6

Changed

  • Internal updates.
5.0.5

Changed

  • Internal updates.
5.0.4

Changed

  • Internal updates.
5.0.3

Changed

  • Internal updates.
5.0.2

Changed

  • Internal updates.
5.0.1

Changed

  • Code: Use function-style exit() and die() with a default status code of 0. [#41167]
5.0.0

Removed

  • Drop support for Composer <2.2. [#40297]
  • Remove support for WordPress 6.5 and earlier. [#40200]
4.0.0

Removed

  • General: Update minimum PHP version to 7.2. [#40147]
3.1.3

Added

  • Enable test coverage. [#39961]
3.1.2

Changed

  • Internal updates.
3.1.1

Changed

  • Internal updates.
3.1.0

Added

  • Add logic for debugging issues caused by conflicting Composer autoloaders, enabled by setting the JETPACK_AUTOLOAD_DEBUG_CONFLICTING_LOADERS constant. [#38995]
  • Add logic for debugging issues caused by early class loads, enabled by setting the JETPACK_AUTOLOAD_DEBUG_EARLY_LOADS constant. [#38995]
3.0.10

Changed

  • Updated package dependencies. [#39004]
3.0.9

Fixed

  • Avoid a deprecation notice in Autoloader_Locator::find_latest_autoloader(). [#38245]
3.0.8

Fixed

  • AutoloadGenerator::__construct no longer pretends $io is nullable. That never worked. [#37608]
3.0.7

Fixed

  • Avoid deprecation notices when plugin path is null. [#37174]
3.0.6

Changed

  • Internal updates.
3.0.5

Changed

  • Internal updates.
3.0.4

Changed

  • Internal updates.
3.0.3

Changed

  • Internal updates.
3.0.2
3.0.1
3.0.0

Changed

  • Updated required PHP version to >= 7.0. [#34192]
2.12.0

Added

  • Add an AutoloadGenerator::VERSION constant, and use that for the autoloader's version in preference to whatever Composer has. [#33156]
2.11.23
  • Minor internal updates.
2.11.22

Changed

  • Updated package dependencies. [#32605]
2.11.21

Added

  • Set keywords in composer.json. [#30756]
2.11.20
  • Updated package dependencies
2.11.19

Fixed

  • Fix example in README [#30225]
2.11.18

Changed

  • Minor internal updates.
2.11.17

Fixed

  • Don't error when processing packages specifying missing PSR paths. [#29669]
2.11.16

Changed

  • Minor internal updates.
2.11.15

Changed

  • Updated package dependencies.
2.11.14

Changed

  • Use Composer\ClassMapGenerator\ClassMapGenerator when available (i.e. with composer 2.4). [#27812]

Fixed

  • Declare fields for PHP 8.2 compatibility. [#27949]
2.11.13

Changed

  • Updated package dependencies. [#27688]
2.11.12

Changed

  • Updated package dependencies. [#27043]
2.11.11

Changed

  • Sort data in generated vendor/composer/jetpack_autoload_classmap.php to avoid spurious diffs. [#26929]
2.11.10
  • Tests: Clear COMPOSER_AUTH environment variable when running Composer for tests. [#26404]
2.11.9

Fixed

  • Tests: Clear COMPOSER_AUTH environment variable when running Composer for tests. [#26404]
2.11.8

Fixed

  • Tests: skip test if it requires a version of Composer not compatible with the running version of PHP. [#26143]
2.11.7

Changed

  • Updated package dependencies. [#25158]
2.11.6

Changed

  • Renaming master to trunk.
2.11.5

Fixed

  • Fix new PHPCS sniffs. [#24366]
2.11.4

Changed

  • Updated package dependencies.
2.11.3

Changed

  • PHPCS: Fix WordPress.Security.ValidatedSanitizedInput
2.11.2

Changed

  • Microperformance: Use === null instead of is_null
2.11.1

Removed

  • Removed the Upgrade Handler.
2.11.0

Added

  • On plugin update, pre-load all (non-PSR-4) classes from the plugin to avoid mid-upgrade fatals.
2.10.13

Fixed

  • Fix tests for upstream phpunit change.
2.10.12

Changed

  • Updated package dependencies.
2.10.11

Changed

  • Switch to pcov for code coverage.
  • Updated package dependencies
2.10.10

Added

  • Soft return if autoloader chain is not available.
2.10.9

Changed

  • Set convertDeprecationsToExceptions true in PHPUnit config.
2.10.8

Changed

  • Updated package dependencies.
2.10.7

Changed

  • Updated package dependencies
2.10.6

Changed

  • Updated package dependencies.
2.10.5

Changed

  • Run composer update on test-php command instead of phpunit
  • Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills).
2.10.4

Changed

  • Updated package dependencies.
2.10.3

Changed

  • Updated package dependencies.
2.10.2

Changed

  • Updated package dependencies.
2.10.1

Added

  • Composer alias for dev-master, to improve dependencies
  • Tests: Added code coverage transformation

Changed

  • Update package dependencies.

Fixed

  • Fix coverage test
  • Fix uninstallation fatal
  • Update tests for changed composer 2.0.9 hash.
  • Use composer update rather than install in scripts, as composer.lock isn't checked in.
2.10.0
  • Autoloader: test suite refactor
2.9.1
  • CI: Make tests more generic
  • Autoloader: stricter type-checking on WP functions
  • Autoloader: prevent transitive plugin execution
2.9.0
  • Autoloader: revised latest autoloader inclusion semantics
  • Add mirror-repo information to all current composer packages
  • Monorepo: Reorganize all projects
  • Autoloader: Don't cache deactivating plugins
2.8.0
2.7.1
  • Autoloader: Added realpath resolution to plugin paths
2.7.0
  • Autoloader: Preemptively load unknown plugins from cache
  • Removed unwanted dot
  • Pin dependencies
  • Packages: Update for PHP 8 testing
2.6.0
  • Autoloader: AutoloadGenerator no longer extends Composer's AutoloadGenerator class
  • Autoloader: Reuse an existing autoloader suffix if available
  • Updated PHPCS: Packages and Debugger
2.5.0
  • Autoloader: remove the defined('JETPACK_AUTOLOAD_DEV') checks from the tests
2.4.0
  • Autoloader: remove the plugins_loaded bullet point from the README
  • Packages: avoid PHPCS warnings
  • Autoloader: add PSR-0 support
  • Autoloader: Detect filtering of active_plugins
  • Autoloader: Support unoptimized PSR-4
2.3.0
  • Autoloader: remove the plugin update hook
2.2.0
  • Autoloader: don't reset the autoloader version during plugin update
  • CI: Try collect js coverage
2.1.0
  • Autoloader: convert '' directory separators to '/' in plugin paths
  • Autoloader: Avoid a PHP warning when an empty string is passed to is_directory_plugin().
  • Autoloader: Tests: Use a string with define
2.0.2
  • Autoloader: Avoid a PHP warning when an empty string is passed to is_directory_plugin().
2.0.1
  • Autoloader: Tests: Use a string with define
2.0.0-beta
  • Autoloader: Support Composer v2.0
  • Autoloader: use paths to identify plugins instead of the directories
  • Autoloader: fix the fatal that occurs during plugin update
  • Autoloader: add fallback check for plugin path in mu-plugins
  • Autoloader: use JETPACK__PLUGIN_DIR when looking for the jetpack plugin directory.
  • Feature Branch: Update the Autoloader
  • PHPCS: Clean up the packages
  • PHPCS Updates after WPCS 2.3
2.0.0
1.7.0
  • Jetpack: Move comment notification override back to the constructor
1.6.0
  • Autoloader: Remove file check to improve performance.
1.5.0
  • Jetpack: instantiate manager object if it's null
1.4.1
  • Autoloader: Load only latest version of autoload files to avoid conflicts.
1.4.0
  • Autoloader: Remove the ignored classes
1.3.8
  • Trying to add deterministic initialization.
  • Autoloader: Remove Manager_Interface and Plugin\Tracking from ignored list
  • Autoloader: Remove Jetpack_IXR_Client from ignore list
1.3.7
1.3.6
  • Autoloader: Use long-form sytax for array
1.3.5
  • Fix/php notice status
1.3.4
  • Deprecate Jetpack::is_development_mode() in favor of the packaged Status()->is_development_mode()
1.3.3
  • Packages: Add gitattributes files to all packages that need th…
1.3.2
  • Autoloader: Cover scenarios where composer/autoload_files.php…
1.3.1
  • Docs: Unify usage of @package phpdoc tags
1.3.0
  • Fix for empty namespaces. #13459
  • Connection: Move the Jetpack IXR client to the package
  • Adds full connection cycle capability to the Connection package.
  • Jetpack 7.5: Back compatibility package
1.2.0
  • Jetpack DNA: Add full classmap support to Autoloader
  • Move Jetpack_Sync_Main from legacy to PSR-4
1.1.0
  • Packages: Move autoloader tests to the package
  • DNA: Move Jetpack Usage tracking to its own file
  • Jetpack DNA: More isolation of Tracks Package
  • Autoloader: Ignore XMLRPC_Connector if called too early
  • Autoloader: Ignore Jetpack_Signature if called too early
1.0.0
  • Add Custom Autoloader
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai