Orchestrate your new WordPress project with Composer.
Latest version: 1.1.0
- PHP 7.0 and newer. Because it's 2018, you know
- Native PHP
gettext
extension (will be used in future versions) - Composer, obviously
- WP-CLI
Create new project
composer create-project ihorvorotnov/sonata project_name
Install new package or WordPress plugin
composer require vendor/package
composer require wpackagist-plugin/{plugin-slug}
Update specific package, WordPress or a plugin to latest version
composer update vendor/package
composer update johnpbloch/wordpress
composer update johnbillion/query-monitor
composer wpackagist-plugin/{plugin-slug}
Update all packages to latest versions
composer update
- Latest stable WordPress, as a Composer dependency
- Better password hashing library (uses
bcrypt
) - Support for
.env
configuration files - Automatically generated WordPress salts in
.env
using WP-CLI - Optimized autoloader by default
- Symlinked Twenty Seventeen theme
- Some plugins for development (as Composer dependencies):
- Query Monitor by @johnbillion
- Laps by @Rarst
- Non-Production Robots Ignore by @matgargano
- User Switching by @johnbillion
- Airplane Mode by @norcross
- Prevent installing packages with known vulnerabilities with SecurityAdvisories by @Roave
- Ready for Memcached object cache, including custom
WP_CACHE_KEY_SALT
- app
+ languages
+ mu-plugins
+ plugins
+ themes
+ uploads
• debug.log
- config
• local.php
• production.php
• staging.php
+ core
+ vendor
• .env
• .env.example
• .gitignore
• composer.json
• composer.lock
• index.php
• LICENSE
• wp-cli.yml
• wp-config.php
Following packages are useful, but not mandatory. Depends on the project.
@todo To be done later