Weave 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

Eval Command Laravel Package

wp-cli/eval-command

Run arbitrary PHP code or files from the command line with WP-CLI. wp eval executes a code string, while wp eval-file loads a PHP file with positional arguments. Both support --skip-wordpress to run without WordPress and --hook to run after a specific WordPress hook fires.

View on GitHub
Deep Wiki
Context7
v3.0.1
  • Harden eval-file against failures while preparing the file [#98]
  • Fix PHPCS errors in Behat test files [#96]
  • Update branch-alias to 3.x-dev [#95]
v3.0.0
v2.2.10
  • Tests: improve Windows compatibility [#93]
  • Require WP-CLI v2.13 [#91]
v2.2.9
  • Ensure $assoc_args can be used in eval [#89]
v2.2.8
  • Add --hook flag to defer eval execution to WordPress lifecycle hooks [#84]
v2.2.7
  • Make $args available as global [#81]
  • Require PHP 7.2.24+ [#79]
v2.2.6
  • Require wp-cli/wp-cli v2.12 [#77]
v2.2.5
  • Composer: prevent a lock file from being created [#75]
v2.2.4
  • Update to WPCS v3 [#71]
v2.2.3
  • Regenerate README file [#69]
  • Minor documentation tweaks to wp eval-file [#68]
v2.2.2
  • Add composer phpcbf and allow wordpress-core-installer [#67]
v2.2.1
  • Replace empty namespace autoloader with classmap [#66]
v2.2.0
  • Regenerate README file [#65]
  • Add --use-include flag [#64]
v2.1.2
  • Adapt branch alias to change from master to main [#61]
v2.1.1
  • Add php 8.1 support [#60]
v2.1.0
  • Reuse Utils\replace_path_consts() for magic constants [#59]
  • Regenerate README file [#58]
v2.0.9
  • Use version range for wp-cli/wp-cli-tests dependency [#56]
  • Move wp-cli/wp-cli-tests to dev dependecies and update [#55]
  • Update GHA functional tests workflow [#54]
v2.0.8
  • Switch from Travis CI to GitHub Actions [#51]
v2.0.7
  • Bump PHPCS compatibility tests to new PHP 5.6+ minimum [#48]
  • Bump Travis CI OS from trusty to xenial [#47]
  • Enforce PHP 7.4 compatibility in Travis CI [#46]
  • Fix Travis CI sudo warning [#45]
v2.0.6
  • Improve __FILE__/__DIR__ regex pattern [#44]
v2.0.5
  • Add preliminary PHP 7.4 testing [#42]
v2.0.4
  • Implement CS checking based on the WP_CLI_CS ruleset [#41]
  • Enhancement: Add PHP 7.3 to Travis CI build matrix [#40]
v2.0.3
  • Fix handling of __FILE__ and __DIR__ constants in eval()'d code. [#38]
  • Move PHP 5.4 tests from WP_VERSION latest to 5.1 [#36]
v2.0.2
  • Strips out #! /bin/bash and similar at the beginning of PHP files [#35]
v2.0.1
  • Adapt install => installation in tests [#33]
  • Ignore log files [#32]
  • Automatically rerun failed scenarios [#31]
v2.0.0
  • Support eval-file from STDIN [#21]
  • Fix PHP 5.3 memory issues [#23]
  • Update scaffolded files [#24]
  • Adapt package for framework v2 [#27]
  • Add behat.yml file for Windows compatibility [#28]
v1.0.5
  • Documentation, test suite, and repository improvements [#17, #18].
v1.0.4
  • Updates scaffolded tests to enable error reporting [#15].
  • Updates scaffolded README and GitHub configuration [#16].
v1.0.3
  • Updates package tests to latest [#11, #14].
v1.0.2
  • Updates package with latest scaffolded components [#9].
  • Uses dist: precise for PHP 5.3, dist: trusty for everything else [#10].
v1.0.1
  • Clarifies this command as a bundled command.
  • Fixes Travis CI caching for composer.
  • Runs Travis tests against WP-CLI dev-master.
v1.0.0
  • Initial release.
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.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast