2017 © Pedro Peláez
 

library wordpress-artisan

Artisan commands to interact with Wordpress

image

paulbunyannet/wordpress-artisan

Artisan commands to interact with Wordpress

  • Friday, November 17, 2017
  • by paulbunyannet
  • Repository
  • 2 Watchers
  • 0 Stars
  • 2,750 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 7 % Grown

The README.md

Wordpress Artisan commands

Build Status, (*1)

wp
    wp:down              Put Wordpress in maintenance mode
    wp:keys              Generate Wordpress Authentication keys
    wp:up                Bring Wordpress back out of maintenance mode 

Config

Run php artisan vendor:publish --provider="Pbc\WordpressArtisan\WordpressArtisanServiceProvider" --tag="config" to get the configuration file and then update as needed., (*2)

Commands

Wordpress Maintenance

Put Wordpress in maintenance mode., (*3)

Usage

php artisan wp:down to put WP in maintenance mode, (*4)

php artisan wp:up to bring WP back out of maintenance mode, (*5)

Wordpress Secret Keys

Builds Wordpress authentication keys and applies them to the .env file, similar to the keys generated at https://api.wordpress.org/secret-key/1.1/salt/, (*6)

Usage

php artisan wp:keys to generate new keys, (*7)

Roadmap

Add other useful artisan commands to interact with wordpress. If you have an idea send in a PR., (*8)

License

The wordpress-artisan package is open-sourced software licensed under the MIT license, (*9)

The Versions