PHPackages                             paulbunyannet/wordpress-artisan - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. paulbunyannet/wordpress-artisan

ActiveLibrary[CLI &amp; Console](/categories/cli)

paulbunyannet/wordpress-artisan
===============================

Artisan commands to interact with Wordpress

1.10(9mo ago)021.4k4MITPHPPHP ^8.2

Since Apr 27Pushed 9mo ago3 watchersCompare

[ Source](https://github.com/paulbunyannet/wordpress-artisan)[ Packagist](https://packagist.org/packages/paulbunyannet/wordpress-artisan)[ Docs](https://github.com/paulbunyannet/wordpress-artisan)[ RSS](/packages/paulbunyannet-wordpress-artisan/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (14)Used By (0)

Wordpress Artisan commands
==========================

[](#wordpress-artisan-commands)

[![Build Status](https://camo.githubusercontent.com/014a898420fcf2d3660a1eb7c469393e231894485c4b3ea62748a5678d8e6d1d/68747470733a2f2f7472617669732d63692e6f72672f7061756c62756e79616e6e65742f776f726470726573732d6172746973616e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/paulbunyannet/wordpress-artisan)

```
wp
    wp:down                   Put Wordpress in maintenance mode
    wp:keys                   Generate Wordpress Authentication keys
    wp:up                     Bring Wordpress back out of maintenance mode
    wp:clear-transient-cache  Clear all the transient caches from the database

```

Config
------

[](#config)

Run `php artisan vendor:publish --provider="Pbc\WordpressArtisan\WordpressArtisanServiceProvider" --tag="config" --tag="lang"` to get the configuration and language files and then update as needed.

Commands
--------

[](#commands)

### Wordpress Maintenance

[](#wordpress-maintenance)

Put Wordpress in maintenance mode.

#### Usage

[](#usage)

`php artisan wp:down` to put WP in maintenance mode

`php artisan wp:up` to bring WP back out of maintenance mode

### Wordpress Secret Keys

[](#wordpress-secret-keys)

Builds Wordpress authentication keys and applies them to the .env file, similar to the keys generated at

#### Usage

[](#usage-1)

`php artisan wp:keys` to generate new keys

### Wordpress Clear Transient Cache

[](#wordpress-clear-transient-cache)

Clear all the transient caches from the database. Requires  to be installed and configured.

#### Usage

[](#usage-2)

`php artisan wp:clear-transient-cache` to clear the transient caches from the database

Roadmap
-------

[](#roadmap)

Add other useful artisan commands to interact with wordpress. If you have an idea send in a PR.

License
-------

[](#license)

The wordpress-artisan package is open-sourced software licensed under the MIT license

laravel compatibility by tag
----------------------------

[](#laravel-compatibility-by-tag)

laravel vwordpress-artisan v5.1 - 5.21.0.\*5.3&gt;1.03 - 1.055.41.15.51.25.61.35.71.45.81.5

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance56

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~281 days

Recently: every ~443 days

Total

13

Last Release

289d ago

PHP version history (7 changes)1.0PHP ^5.5.9 || ^7.0

1.1PHP ^7.0

1.6.0PHP &gt;=7.2

1.6.1PHP &gt;=7.4

1.7.1PHP ^8.0

1.8.0PHP ^8.1

1.9.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/44360468d7314d1dabd3ef04aa8584955bbf9738a815f65578afee6601db0b0f?d=identicon)[paulbunyannet](/maintainers/paulbunyannet)

---

Top Contributors

[![natenolting](https://avatars.githubusercontent.com/u/8352600?v=4)](https://github.com/natenolting "natenolting (18 commits)")[![romanmartushev](https://avatars.githubusercontent.com/u/26902469?v=4)](https://github.com/romanmartushev "romanmartushev (13 commits)")[![castillo-n](https://avatars.githubusercontent.com/u/6334155?v=4)](https://github.com/castillo-n "castillo-n (10 commits)")[![paulbunyannet](https://avatars.githubusercontent.com/u/10351920?v=4)](https://github.com/paulbunyannet "paulbunyannet (5 commits)")

---

Tags

laravelwordpress

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/paulbunyannet-wordpress-artisan/health.svg)

```
[![Health](https://phpackages.com/badges/paulbunyannet-wordpress-artisan/health.svg)](https://phpackages.com/packages/paulbunyannet-wordpress-artisan)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M683](/packages/barryvdh-laravel-ide-helper)[laravel/ui

Laravel UI utilities and presets.

2.7k134.9M597](/packages/laravel-ui)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
