wp-cli/shell-command
WP-CLI Shell Command adds an interactive PHP REPL to WP-CLI, letting you explore and run code against a WordPress install from the command line. It bootstraps WordPress and gives quick access to its APIs for debugging, inspection, and experimentation.
wp-cli/shell-command adds an interactive REPL to WP-CLI, letting you evaluate PHP inside a fully loaded WordPress environment. Instead of editing plugin files or writing throwaway scripts just to test a function or inspect the database, you can open wp shell and work interactively.
It is powered by PsySH, giving a comfortable developer console with familiar readline behavior and introspection while your site's code is already bootstrapped.
$wpdb, $wp_query, and core APIsHow can I help you explore Laravel packages today?