ouun / wp-ultimo-installer
An install helper for WP Ultimo
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 70
Open Issues: 0
Type:composer-plugin
Requires
- php: >=5.5
- composer-plugin-api: ^1.0
- vlucas/phpdotenv: ^2.2
Requires (Dev)
- composer/composer: 1.0.*
- phpunit/phpunit: 4.8.*
- satooshi/php-coveralls: 1.*
- squizlabs/php_codesniffer: 2.*
This package is auto-updated.
Last update: 2024-11-12 23:20:59 UTC
README
A composer plugin based on PhilippBaschke/acf-pro-installer that makes installing WP-ULTIMO with composer easier.
It reads your 🔑 WP-ULTIMO key from the environment or a .env file.
Usage
1. Add the package repository to the repositories
field in composer.json
:
{ "type": "package", "package": { "name": "wp-ultimo/wp-ultimo", "version": "*.*.*(.*)", "type": "wordpress-plugin", "dist": { "type": "zip", "url": "https://versions.nextpress.co/updates?action=download&slug=wp-ultimo" }, "require": { "ouun/wp-ultimo-installer": "^1.0", "composer/installers": "^1.0" } } }
Replace "version": "*.*.*(.*)"
with your desired version.
2. Make your WP-ULTIMO key available
Set the environment variable WP_ULTIMO_KEY
.
Alternatively you can add an entry to your .env
file:
# .env (same directory as composer.json) WP_ULTIMO_KEY=Your-Key-Here
3. Require WP-ULTIMO
composer require wp-ultimo/wp-ultimo:*
You can specify an exact version (that matches your desired version).
If you use *
, composer will install the version from the package repository (see 1). This has the benefit that you only need to change the version in the package repository when you want to update.
Be aware that composer update
will only work if you change the version
in the package repository. Decreasing the version only works if you require an exact version.