-
Notifications
You must be signed in to change notification settings - Fork 3.1k
#47256 Use composer to install and update external PHP libraries #10477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
#47256 Use composer to install and update external PHP libraries #10477
Conversation
b97221d to
ceb6bd2
Compare
1596aed to
b58f62d
Compare
# Conflicts: # composer.json
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @1178653+wordpress-develop-pr-bot[bot]@users.noreply.github.com. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
12bef2c to
c7eb6ac
Compare
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
This introduces a custom Composer installer plugin in order to facilitate installing some third party libraries via Composer into the
wp-includesdirectory. This is needed because none of the existing Composer installer libraries support features such as ignoring files or installing just a subdirectory of the package, both of which are needed for WordPress.Once this is implemented, updating one of these dependencies will be a case of:
composer.jsoncomposer updateTicket
Trac ticket: https://core.trac.wordpress.org/ticket/47256
Done
In progress
src/IRI.php. This is due to a manual backport of a fix that has not yet been released in SimplePie. See Core-63961 and r60947. Awaiting a release of SimplePie 1.10.0.N/A
Text_DiffPomorandom_compatID3getid3directory instead of its parent directory which breaks the autloader if attempt to only install thegetid3subdir. Something to revisit another time.