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

Media Command Laravel Package

wp-cli/media-command

WP-CLI media commands for WordPress: import files as attachments, regenerate thumbnails, replace attachment files, list registered image sizes, and fix image orientation. Useful for bulk media maintenance and automation from the command line.

View on GitHub
Deep Wiki
Context7
v2.2.8
  • Update behat-data URLs in tests [#250]
  • Add --skip-duplicates flag to wp media import [#241]
v2.2.7
  • Tests: Improve Windows compatibility [#249]
  • Add reason for skipping regeneration in wp media regenerate [#248]
  • Add --update-attachment-refs flag to wp media regenerate [#242]
  • Add wp media replace subcommand [#240]
  • Add wp media prune command to remove generated thumbnails [#239]
  • Add STDIN support to wp media import [#221]
v2.2.6
  • Use wp_update_image_subsizes() for --only-missing on WP 5.3+ [#236]
  • Fix fix-orientation command for Imagick and add WP 5.3+ tests [#233]
  • Allow multiple image sizes for regeneration via repeated --image_size flags [#231]
v2.2.5
  • PHPStan level 9 [#229]
  • Make filter callbacks private [#228]
  • Fix thumbnail regeneration reverting user-edited big images to pre-edit state [#225]
  • Don't re-generate scaled/rotated images when regenerating a specific image size [#224]
  • Fix media regenerate dropping site-icon-specific image sizes [#223]
  • Added feature to import media into a specific directory [#202]
v2.2.4
  • Fix field order in test [1e896733998450f3cb8c1baba4de64804c3d549e]
v2.2.3
  • Update wp-cli/wp-cli-tests requirement from ^4 to ^5 [#215]
  • Require PHP 7.2.24+ [#214]
v2.2.2
  • Fix docstring indent issue in feature files [#213]
  • Fix Gherkin lint issues [#212]
  • Skip fix-orientation tests on WP 4.9 [#210]
  • Require wp-cli/wp-cli v2.12 [#209]
v2.2.1
  • Composer: prevent a lock file from being created [#205]
v2.2.0
  • Add option to delete unknown image sizes [#199]
v2.1.0
  • Fix incorrect image sizes in media image-size command [#192]
  • Remove extraneous error check [#191]
  • Update media commands examples [#189]
  • Optimize memory consumption when querying attachments [#188]
v2.0.21
  • Add --file_name=<name> argument for wp media import [#187]
v2.0.20
  • Update to WPCS v3 [#184]
v2.0.19
  • Replace usage of via.placeholder.com [#183]
  • Add support for 'url' to --porcelain to output the URL instead of attachment ID [#182]
  • Fix legacy test by running against WP versions when PHP matches [#181]
v2.0.18
  • Remove trunk from this scenario [#179]
v2.0.17
  • Add composer phpcbf [#178]
  • Remove tests around square image thumbnail regeneration [#177]
  • Replace empty namespace autoloader with classmap [#176]
v2.0.16
  • Fx typo in import command longdesc [#172]
  • Travis is no longer in use, so fine to remove config files [#171]
  • Avoid deleting meta for other sizes when running wp media regenerate with --image_size [#170]
  • Allow johnpbloch/wordpress-core-installer in composer.json [#167]
  • Support --post_name= when importing media [#166]
  • Correct argument for fix-orientation subcommand [#165]
v2.0.15
  • Fix read error detection in EXIF discovery [#162]
v2.0.14
  • Allow PHPCS plugin [#159]
v2.0.13
  • Fixing typo directly in README.md [#158]
v2.0.12
  • Add php 8.1 support [#153]
  • Add missing intermediate_image_sizes_advanced filter argument for WP 5.3+ [#150]
v2.0.11
  • Regenerate README file [#145]
v2.0.10
  • Use version range for wp-cli/wp-cli-tests dependency [#144]
  • Move wp-cli/wp-cli-tests to dev dependecies and update [#143]
  • Update GHA functional tests workflow [#140]
v2.0.9
  • Bump PHPCS compatibility tests to new PHP 5.6+ minimum [#132]
v2.0.8
  • Skip video cover regeneration on WP 5.5+ [#129]
  • Bump Travis CI OS from trusty to xenial [#128]
  • Enforce PHP 7.4 compatibility in Travis CI [#127]
  • Fix Travis CI sudo warning [#124]
v2.0.7
  • Add preliminary PHP 7.4 testing [#119]
v2.0.6
  • Fix suffix of scaled large images [#118]
v2.0.5
  • Adapt to changes in WP 5.3 image handling to fix broken tests [#115]
v2.0.4
  • Skip test for duplicate resizes for core trunk because of bug in current version [#112]
  • Clarify implications of using --skip-copy [#110]
  • Add media fix-orientation command [#108]
v2.0.3
  • Implement CS checking based on the WP_CLI_CS ruleset [#106]
  • Enhancement: Add PHP 7.3 to Travis CI build matrix [#105]
  • Refactored aspects of the image collection and determination of sizes [#103]
  • Move PHP 5.4 tests from WP_VERSION latest to 5.1 [#102]
v2.0.2
  • Fix SVG regeneration test by adding an XML header to fake SVG file [#98]
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.
craftcms/url-validator
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony