trema / wordpress
Trema Wordpress installer
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:project
Requires
- php: >=8.1
- johnpbloch/wordpress: ^6
- wp-cli/wp-cli-bundle: ^2
- wpackagist-plugin/contact-form-7: ^5.3
- wpackagist-plugin/disable-gutenberg: ^2.8
- wpackagist-plugin/post-types-order: ^2
- wpackagist-plugin/wordfence: ^7.8
- wpackagist-plugin/wordpress-seo: ^20
- wpackagist-plugin/wp-fastest-cache: ^1
- wpackagist-theme/twentytwenty: ^2
README
Usage
Deploy a composer based WordPress website.
- Use
composer create-project trema/wordpress
to perform the composer-based installation. - Create your
config/.env
file out fromconfig/.env.dist
- Then run the automated wp-cli installation :
composer run install-wp
. You can skip this step if you plan to use an already existing database.
Your website is ready to go 🎉
Warning
Some security issues are to expect if you're not using Apache or if the config/.htaccess
file is ignored. If it happends, the .env
file will be exposed. Please secure this directory by rejecting all requests to it.
Commands
- to perform your plugin updates :
composer update
- to install a new plugin : use the Wpackagist packages with
composer require wpackagist-plugin/[plugin name]
. - to install a new theme : use the Wpackagist themes with
composer require wpackagist-theme/[theme name]
. - you can use wp-cli with the executable
./vendor/bin/wp [command]