Skip to main content
Home
Drupal life hacks

Main navigation

  • Drupal
  • React
  • WP
  • Contact
  • About
User account menu
  • Log in

Breadcrumb

  1. Home

Why wordpress don't use composer?

By admin, 15 May, 2024

WordPress, as a platform, has been around for quite some time, and its development practices have evolved over the years. One of the reasons WordPress doesn't use Composer as its primary package manager is historical.

WordPress started as a simple blogging platform in 2003, long before Composer became popular in the PHP ecosystem. As it grew, backward compatibility became a significant concern. Introducing a new dependency manager would require significant changes to the existing ecosystem, plugins, themes, and custom codebases.

Additionally, WordPress has its own plugin and theme repository, which doesn't align perfectly with Composer's model of package management. WordPress plugins and themes are often designed to be standalone entities that can be easily installed and activated through the WordPress admin dashboard. Composer, on the other hand, is more focused on managing PHP dependencies at the code level.

However, it's worth noting that while WordPress core doesn't use Composer as its primary package manager, many developers within the WordPress ecosystem do utilize Composer for managing dependencies within their plugins, themes, or custom projects. This allows them to take advantage of modern PHP development practices while still integrating with the broader WordPress ecosystem.

Tags

  • WordPress

Comments

About text formats

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
Powered by Drupal