[wp-trac] [WordPress Trac] #23912: Add Composer package description

WordPress Trac noreply at wordpress.org
Sun Jan 19 06:48:39 UTC 2014


#23912: Add Composer package description
-------------------------+-----------------------------
 Reporter:  Rarst        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  General      |     Version:  3.5
 Severity:  trivial      |  Resolution:
 Keywords:               |
-------------------------+-----------------------------

Comment (by rmccue):

 Replying to [comment:70 JohnPBloch]:
 > That is how ''you'' would install it. I install WordPress in a
 subdirectory a la Jaquith's WP Skeleton set-up. When I deploy a WordPress
 site, the ''site'' is the main package, with WordPress usually two
 directories deep (`webroot/wp`). Using `composer create-project` makes no
 sense at all for that workflow. Running WordPress in a subdirectory has
 been a normal way of setting it up for a '''long''' time and has only
 become more so with the addition of support for multisite in a
 subdirectory.

 I use WP in a subdirectory as well, and I still think `create-project` is
 the correct approach. WordPress is not meant to be embeddable in other
 projects (trust me, I've done it, it's a bad idea), it *is* the project.

 WP-in-a-subdirectory is still WP-as-root-package, you're just moving some
 files around.

 > Preposterous. This is not at all the situation WordPress is in. I
 currently deploy several sites with composer and all of them do so
 >
 > 1. With WordPress as a dependency of the main site package
 > 2. Without modifying any core file
 >
 > This is possible ''because'' core has made it possible for WordPress to
 redefine where `wp-content` is and to look one directory up for `wp-
 config.php`.

 WP still can't be used inside another application without stuff breaking
 everywhere. That's the crux of my opposition to this: WordPress is not
 embeddable, so requiring it via Composer makes no real sense to me.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/23912#comment:72>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list